[FFmpeg-cvslog] avformat/mmf: Use AVFormatContext strict_std_compliance instead of AVCodecContext

Michael Niedermayer git at videolan.org
Thu Nov 6 15:05:27 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov  6 14:48:23 2014 +0100| [da8cb1c361340da8f0127375fc2d7ff2df85f589] | committer: Michael Niedermayer

avformat/mmf: Use AVFormatContext strict_std_compliance instead of AVCodecContext

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=da8cb1c361340da8f0127375fc2d7ff2df85f589
---

 libavformat/mmf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index f557eeb..e963112 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -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);



More information about the ffmpeg-cvslog mailing list