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

diego subversion
Tue Feb 24 15:13:48 CET 2009


Author: diego
Date: Tue Feb 24 15:13:46 2009
New Revision: 17552

Log:
Mark two variables with av_uninit to avoid false positive gcc warnings.

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Tue Feb 24 14:35:54 2009	(r17551)
+++ trunk/libavcodec/h264.c	Tue Feb 24 15:13:46 2009	(r17552)
@@ -3259,13 +3259,13 @@ static int execute_ref_pic_marking(H264C
     MpegEncContext * const s = &h->s;
     int i, j;
     int current_ref_assigned=0;
-    Picture *pic;
+    Picture *av_uninit(pic);
 
     if((s->avctx->debug&FF_DEBUG_MMCO) && mmco_count==0)
         av_log(h->s.avctx, AV_LOG_DEBUG, "no mmco here\n");
 
     for(i=0; i<mmco_count; i++){
-        int structure, frame_num;
+        int structure, av_uninit(frame_num);
         if(s->avctx->debug&FF_DEBUG_MMCO)
             av_log(h->s.avctx, AV_LOG_DEBUG, "mmco:%d %d %d\n", h->mmco[i].opcode, h->mmco[i].short_pic_num, h->mmco[i].long_arg);
 




More information about the ffmpeg-cvslog mailing list