Commit ae2e7208 authored by Michael Niedermayer's avatar Michael Niedermayer

pass strict_std_compliance to audio context too

Originally committed as revision 2763 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent eb5b0422
...@@ -2543,6 +2543,7 @@ static void opt_output_file(const char *filename) ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment