From: Panagiotis Issaris Date: Fri, 29 Sep 2006 19:34:53 +0000 (+0000) Subject: Remove the override of lmin and lmax, so the actual option value provided will X-Git-Tag: v0.5~11719 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6d6f42d202b2cacaf7288bda99ad6df1baaeb03c;p=coroid%2Fffmpeg_saccubus.git 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 --- diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 05e4218fd..1e3c528b9 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