diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-10-27 13:51:16 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-10-18 05:29:14 +0200 |
commit | 530c1441fd1426b6a4bb33485ff3226e1ae0ad45 (patch) | |
tree | b3624b9542061d67a169115b5d912b2995f13e9a /libavcodec/ratecontrol.c | |
parent | 15ec053c4c0b198a2e93eb8e60c8f41e091e0c40 (diff) | |
download | ffmpeg-530c1441fd1426b6a4bb33485ff3226e1ae0ad45.tar.gz |
lavc: make lmax/lmin into private options of mpegvideo encoders
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r-- | libavcodec/ratecontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 84b84740cd..e18878d77e 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -460,8 +460,8 @@ static double get_diff_limited_q(MpegEncContext *s, RateControlEntry *rce, doubl */ static void get_qminmax(int *qmin_ret, int *qmax_ret, MpegEncContext *s, int pict_type) { - int qmin = s->avctx->lmin; - int qmax = s->avctx->lmax; + int qmin = s->lmin; + int qmax = s->lmax; assert(qmin <= qmax); |