[FFmpeg-cvslog] r14396 - trunk/libavcodec/h264.c

michael subversion
Fri Jul 25 16:52:58 CEST 2008


Author: michael
Date: Fri Jul 25 16:52:58 2008
New Revision: 14396

Log:
Do not scare the user with error messages when everything is ok.


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Fri Jul 25 16:52:58 2008
@@ -3460,6 +3460,8 @@ static int execute_ref_pic_marking(H264C
             frame_num = pic_num_extract(h, mmco[i].short_pic_num, &structure);
             pic = find_short(h, frame_num, &j);
             if(!pic){
+                if(mmco[i].opcode != MMCO_SHORT2LONG || !h->long_ref[mmco[i].long_arg]
+                   || h->long_ref[mmco[i].long_arg]->frame_num != frame_num)
                 av_log(h->s.avctx, AV_LOG_ERROR, "mmco: unref short failure\n");
                 continue;
             }




More information about the ffmpeg-cvslog mailing list