From 6d6f42d202b2cacaf7288bda99ad6df1baaeb03c Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Fri, 29 Sep 2006 19:34:53 +0000 Subject: [PATCH] Remove the override of lmin and lmax, so the actual option value provided will be used. Originally committed as revision 6384 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 05e4218fd1..1e3c528b90 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -743,8 +743,6 @@ void avcodec_get_context_defaults(AVCodecContext *s){ s->release_buffer= avcodec_default_release_buffer; s->get_format= avcodec_default_get_format; s->execute= avcodec_default_execute; - s->lmin= FF_QP2LAMBDA * s->qmin; - s->lmax= FF_QP2LAMBDA * s->qmax; s->sample_aspect_ratio= (AVRational){0,1}; s->pix_fmt= PIX_FMT_NONE; s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE