[SCM] libav/experimental: 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.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:59:13 UTC 2013


The following commit has been merged in the experimental branch:
commit 5cd3928478ed8d296e892be781aa68e13a51dbbd
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Feb 1 00:18:49 2010 +0000

    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.
    
    Originally committed as revision 21580 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/options.c b/libavcodec/options.c
index d2d8c0a..bb69ba8 100644
--- a/libavcodec/options.c
+++ b/libavcodec/options.c
@@ -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){

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list