Mercurial > libavcodec.hg
diff ratecontrol.c @ 1455:c4539ef4d8cb libavcodec
removed warnings
author | bellard |
---|---|
date | Tue, 09 Sep 2003 22:59:16 +0000 |
parents | d58fa7cc6008 |
children | 010f76d07a27 |
line wrap: on
line diff
--- a/ratecontrol.c Tue Sep 09 22:56:25 2003 +0000 +++ b/ratecontrol.c Tue Sep 09 22:59:16 2003 +0000 @@ -602,6 +602,7 @@ var= pict_type == I_TYPE ? pic->mb_var_sum : pic->mc_mb_var_sum; + short_term_q = 0; /* avoid warning */ if(s->flags&CODEC_FLAG_PASS2){ if(pict_type!=I_TYPE) assert(pict_type == rce->new_pict_type);