pass strict_std_compliance to audio context too

Originally committed as revision 2763 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 21 years ago
parent eb5b0422b5
commit ae2e7208f9
  1. 1
      ffmpeg.c

@ -2543,6 +2543,7 @@ static void opt_output_file(const char *filename)
audio_enc->bit_rate = audio_bit_rate; audio_enc->bit_rate = audio_bit_rate;
audio_enc->sample_rate = audio_sample_rate; audio_enc->sample_rate = audio_sample_rate;
audio_enc->strict_std_compliance = strict;
/* For audio codecs other than AC3 we limit */ /* For audio codecs other than AC3 we limit */
/* the number of coded channels to stereo */ /* the number of coded channels to stereo */
if (audio_channels > 2 && codec_id != CODEC_ID_AC3) { if (audio_channels > 2 && codec_id != CODEC_ID_AC3) {

Loading…
Cancel
Save