You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/utils: check that extended data has been set correctly instead of forcing it in avcodec_decode_video2()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -2158,7 +2158,7 @@ fail:
|
||||
|
||||
/* many decoders assign whole AVFrames, thus overwriting extended_data;
|
||||
* make sure it's set correctly */
|
||||
picture->extended_data = picture->data;
|
||||
av_assert0(!picture->extended_data || picture->extended_data == picture->data);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user