[FFmpeg-cvslog] r14383 - trunk/libavcodec/h264.c
michael
subversion
Fri Jul 25 13:48:32 CEST 2008
Author: michael
Date: Fri Jul 25 13:48:32 2008
New Revision: 14383
Log:
Make sure mmco index is 0 (instead of uninitialized) in all error returns.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Fri Jul 25 13:48:32 2008
@@ -3625,6 +3625,7 @@ static int decode_ref_pic_marking(H264Co
MpegEncContext * const s = &h->s;
int i;
+ h->mmco_index= 0;
if(h->nal_unit_type == NAL_IDR_SLICE){ //FIXME fields
s->broken_link= get_bits1(gb) -1;
h->mmco[0].long_arg= get_bits1(gb) - 1; // current_long_term_idx
More information about the ffmpeg-cvslog
mailing list