avoid compile error of opencv_ffmpeg[_64].dll with v2 of FFMPEG wrappers

This commit is contained in:
Vadim Pisarevsky 2012-04-09 17:18:00 +00:00
parent f551b2547e
commit 82db65ae8f

View File

@ -573,7 +573,7 @@ bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char** data, int* step, int*
); );
if (img_convert_ctx == NULL) if (img_convert_ctx == NULL)
CV_Error(0, "Cannot initialize the conversion context!"); return false;//CV_Error(0, "Cannot initialize the conversion context!");
sws_scale( sws_scale(
img_convert_ctx, img_convert_ctx,