diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-09-09 22:59:16 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-09-09 22:59:16 +0000 |
commit | b160941221f66f4da3c6ac24ba2398decd13e0e3 (patch) | |
tree | 5941a5cc22a81d4e2ae9bf626205549c14afb65b /libavcodec/ratecontrol.c | |
parent | 09b85c13a3edc52f5909b05a138b62fcf1b25675 (diff) | |
download | ffmpeg-b160941221f66f4da3c6ac24ba2398decd13e0e3.tar.gz |
removed warnings
Originally committed as revision 2248 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r-- | libavcodec/ratecontrol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 23c74784da..2aeb12b3e0 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -602,6 +602,7 @@ float ff_rate_estimate_qscale(MpegEncContext *s) 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); |