This commit is contained in:
Alexander Shishkov 2012-02-22 12:13:56 +00:00
parent f0f87ebf36
commit f7866677eb

View File

@ -1246,7 +1246,7 @@ bool CvVideoWriter_FFMPEG::writeFrame( const unsigned char* data, int step, int
#else
img_convert_ctx = sws_getContext(width,
height,
PIX_FMT_BGR24,
(PixelFormat)input_pix_fmt,
c->width,
c->height,
c->pix_fmt,