mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 04:54:55 +00:00
Mark two variables with av_uninit to avoid false positive gcc warnings.
Originally committed as revision 17552 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7f123e7f8a
commit
acced32d08
@ -3259,13 +3259,13 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){
|
|||||||
MpegEncContext * const s = &h->s;
|
MpegEncContext * const s = &h->s;
|
||||||
int i, j;
|
int i, j;
|
||||||
int current_ref_assigned=0;
|
int current_ref_assigned=0;
|
||||||
Picture *pic;
|
Picture *av_uninit(pic);
|
||||||
|
|
||||||
if((s->avctx->debug&FF_DEBUG_MMCO) && mmco_count==0)
|
if((s->avctx->debug&FF_DEBUG_MMCO) && mmco_count==0)
|
||||||
av_log(h->s.avctx, AV_LOG_DEBUG, "no mmco here\n");
|
av_log(h->s.avctx, AV_LOG_DEBUG, "no mmco here\n");
|
||||||
|
|
||||||
for(i=0; i<mmco_count; i++){
|
for(i=0; i<mmco_count; i++){
|
||||||
int structure, frame_num;
|
int structure, av_uninit(frame_num);
|
||||||
if(s->avctx->debug&FF_DEBUG_MMCO)
|
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);
|
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user