changeset 9021:ccde7fbba09e libavcodec

Mark two variables with av_uninit to avoid false positive gcc warnings.
author diego
date Tue, 24 Feb 2009 14:13:46 +0000
parents 97b991a32b85
children 2b92a8c404c9
files h264.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Tue Feb 24 01:41:44 2009 +0000
+++ b/h264.c	Tue Feb 24 14:13:46 2009 +0000
@@ -3259,13 +3259,13 @@
     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);