avformat/mmf: Use AVFormatContext strict_std_compliance instead of AVCodecContext
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 6 Nov 2014 13:48:23 +0000 (14:48 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 6 Nov 2014 13:48:41 +0000 (14:48 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mmf.c

index f557eeb..e963112 100644 (file)
@@ -82,7 +82,7 @@ static int mmf_write_header(AVFormatContext *s)
 
     mmf->stereo = s->streams[0]->codec->channels > 1;
     if (mmf->stereo &&
-        s->streams[0]->codec->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
+        s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
         av_log(s, AV_LOG_ERROR, "Yamaha SMAF stereo is experimental, "
                "add '-strict %d' if you want to use it.\n",
                FF_COMPLIANCE_EXPERIMENTAL);