mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
7102083a26
commit
985c5f226a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user