Commit c717e799 authored by michael's avatar michael

Set reordered_opaque during context alloc by default to AV_NOPTS_VALUE.

This should make sure that pictures allocated prior to avcodec_decode_video()
get AV_NOPTS_VALUE assigned.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21580 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 05aa4968
......@@ -442,6 +442,7 @@ void avcodec_get_context_defaults2(AVCodecContext *s, enum CodecType codec_type)
s->palctrl = NULL;
s->reget_buffer= avcodec_default_reget_buffer;
s->reordered_opaque= AV_NOPTS_VALUE;
}
AVCodecContext *avcodec_alloc_context2(enum CodecType codec_type){
......
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