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