[FFmpeg-cvslog] r21580 - trunk/libavcodec/options.c
michael
subversion
Mon Feb 1 01:18:49 CET 2010
Author: michael
Date: Mon Feb 1 01:18:49 2010
New Revision: 21580
Log:
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.
Modified:
trunk/libavcodec/options.c
Modified: trunk/libavcodec/options.c
==============================================================================
--- trunk/libavcodec/options.c Sun Jan 31 19:54:32 2010 (r21579)
+++ trunk/libavcodec/options.c Mon Feb 1 01:18:49 2010 (r21580)
@@ -442,6 +442,7 @@ void avcodec_get_context_defaults2(AVCod
s->palctrl = NULL;
s->reget_buffer= avcodec_default_reget_buffer;
+ s->reordered_opaque= AV_NOPTS_VALUE;
}
AVCodecContext *avcodec_alloc_context2(enum CodecType codec_type){
More information about the ffmpeg-cvslog
mailing list