diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-11 17:40:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-11 17:50:14 +0200 |
commit | 50dba71b7d848d0ea52491fbdfd2fd037c9298c2 (patch) | |
tree | 8e7f07e32387fe5031c0d35d75cb5aebb2180ac9 /libavcodec/ratecontrol.c | |
parent | ce7876cbf4cd3e6f07a36e2fe1e28ca825dd5141 (diff) | |
download | ffmpeg-50dba71b7d848d0ea52491fbdfd2fd037c9298c2.tar.gz |
ratecontrol: fix get_fps() argument
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r-- | libavcodec/ratecontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 4415d8553d..bc399b4486 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -253,7 +253,7 @@ int ff_rate_control_init(MpegEncContext *s) rcc->frame_count[rce.pict_type] ++; get_qscale(s, &rce, rcc->pass1_wanted_bits/rcc->pass1_rc_eq_output_sum, i); - rcc->pass1_wanted_bits+= s->bit_rate/get_fps(s); //FIXME misbehaves a little for variable fps + rcc->pass1_wanted_bits+= s->bit_rate/get_fps(s->avctx); //FIXME misbehaves a little for variable fps } } |