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
1 changed files with 1 additions and 1 deletions

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