Mercurial > libavcodec.hg
comparison h264.c @ 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 | 15a3df8c01fd |
children | 0f95e4f0a3f5 |
comparison
equal
deleted
inserted
replaced
9020:97b991a32b85 | 9021:ccde7fbba09e |
---|---|
3257 */ | 3257 */ |
3258 static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ | 3258 static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){ |
3259 MpegEncContext * const s = &h->s; | 3259 MpegEncContext * const s = &h->s; |
3260 int i, j; | 3260 int i, j; |
3261 int current_ref_assigned=0; | 3261 int current_ref_assigned=0; |
3262 Picture *pic; | 3262 Picture *av_uninit(pic); |
3263 | 3263 |
3264 if((s->avctx->debug&FF_DEBUG_MMCO) && mmco_count==0) | 3264 if((s->avctx->debug&FF_DEBUG_MMCO) && mmco_count==0) |
3265 av_log(h->s.avctx, AV_LOG_DEBUG, "no mmco here\n"); | 3265 av_log(h->s.avctx, AV_LOG_DEBUG, "no mmco here\n"); |
3266 | 3266 |
3267 for(i=0; i<mmco_count; i++){ | 3267 for(i=0; i<mmco_count; i++){ |
3268 int structure, frame_num; | 3268 int structure, av_uninit(frame_num); |
3269 if(s->avctx->debug&FF_DEBUG_MMCO) | 3269 if(s->avctx->debug&FF_DEBUG_MMCO) |
3270 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); | 3270 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); |
3271 | 3271 |
3272 if( mmco[i].opcode == MMCO_SHORT2UNUSED | 3272 if( mmco[i].opcode == MMCO_SHORT2UNUSED |
3273 || mmco[i].opcode == MMCO_SHORT2LONG){ | 3273 || mmco[i].opcode == MMCO_SHORT2LONG){ |