Commit 985c5f22 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/utils: check that extended data has been set correctly instead of...

avcodec/utils: check that extended data has been set correctly instead of forcing it in avcodec_decode_video2()
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7102083a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment