changeset 11070:b28afc181754 libavcodec

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.
author michael
date Mon, 01 Feb 2010 00:18:49 +0000
parents 28f00789adcd
children 327019a2d156
files options.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/options.c	Sun Jan 31 15:07:25 2010 +0000
+++ b/options.c	Mon Feb 01 00:18:49 2010 +0000
@@ -442,6 +442,7 @@
 
     s->palctrl = NULL;
     s->reget_buffer= avcodec_default_reget_buffer;
+    s->reordered_opaque= AV_NOPTS_VALUE;
 }
 
 AVCodecContext *avcodec_alloc_context2(enum CodecType codec_type){