# HG changeset patch # User diego # Date 1235484826 0 # Node ID ccde7fbba09e1821a81667dd41ea3326a2edf821 # Parent 97b991a32b855a070202a4b24b211aeab7a37c3c Mark two variables with av_uninit to avoid false positive gcc warnings. diff -r 97b991a32b85 -r ccde7fbba09e h264.c --- 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; iavctx->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);