1
0
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:
Michael Niedermayer 2013-12-10 01:00:01 +01:00
parent 7102083a26
commit 985c5f226a

View File

@ -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;
}