Commit f7866677 authored by Alexander Shishkov's avatar Alexander Shishkov

fixed #1615

parent f0f87ebf
...@@ -1246,7 +1246,7 @@ bool CvVideoWriter_FFMPEG::writeFrame( const unsigned char* data, int step, int ...@@ -1246,7 +1246,7 @@ bool CvVideoWriter_FFMPEG::writeFrame( const unsigned char* data, int step, int
#else #else
img_convert_ctx = sws_getContext(width, img_convert_ctx = sws_getContext(width,
height, height,
PIX_FMT_BGR24, (PixelFormat)input_pix_fmt,
c->width, c->width,
c->height, c->height,
c->pix_fmt, c->pix_fmt,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment