mirror of
https://github.com/opencv/opencv.git
synced 2024-11-30 06:10:02 +08:00
avoid compile error of opencv_ffmpeg[_64].dll with v2 of FFMPEG wrappers
This commit is contained in:
parent
f551b2547e
commit
82db65ae8f
@ -573,7 +573,7 @@ bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char** data, int* step, int*
|
||||
);
|
||||
|
||||
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(
|
||||
img_convert_ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user