Merge pull request #22137 from danopdev:issues-22126

This commit is contained in:
Alexander Alekhin 2022-06-25 15:21:55 +00:00
commit 397e9bc8d6

View File

@ -1408,7 +1408,7 @@ bool CvCapture_FFMPEG::retrieveFrame(int, unsigned char** data, int* step, int*
img_convert_ctx,
picture->data,
picture->linesize,
0, video_st->codec->coded_height,
0, picture->height,
rgb_picture.data,
rgb_picture.linesize
);