Remove the override of lmin and lmax, so the actual option value provided will
authorPanagiotis Issaris <takis.issaris@uhasselt.be>
Fri, 29 Sep 2006 19:34:53 +0000 (19:34 +0000)
committerPanagiotis Issaris <takis.issaris@uhasselt.be>
Fri, 29 Sep 2006 19:34:53 +0000 (19:34 +0000)
be used.

Originally committed as revision 6384 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/utils.c

index 05e4218..1e3c528 100644 (file)
@@ -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