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
pull/126/head
Panagiotis Issaris 19 years ago
parent 4d7b4613a1
commit 6d6f42d202
  1. 2
      libavcodec/utils.c

@ -743,8 +743,6 @@ void avcodec_get_context_defaults(AVCodecContext *s){
s->release_buffer= avcodec_default_release_buffer; s->release_buffer= avcodec_default_release_buffer;
s->get_format= avcodec_default_get_format; s->get_format= avcodec_default_get_format;
s->execute= avcodec_default_execute; 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->sample_aspect_ratio= (AVRational){0,1};
s->pix_fmt= PIX_FMT_NONE; s->pix_fmt= PIX_FMT_NONE;
s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE

Loading…
Cancel
Save