diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-06 14:47:43 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-06 14:47:43 +0100 |
commit | 470e116e3fda4d433784e6ac70a09d8870442b16 (patch) | |
tree | c67f2f2fb169ded6978e2ef21eab056e8bafa7a1 | |
parent | e591608753ed0b1eee4584362da0340e9351d0cb (diff) | |
download | ffmpeg-470e116e3fda4d433784e6ac70a09d8870442b16.tar.gz |
avformat/flvenc: Use AVFormatContext strict_std_compliance instead of AVCodecContext
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/flvenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 939e663258..6266fb085d 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -223,7 +223,7 @@ static int flv_write_header(AVFormatContext *s) } if (enc->codec_id == AV_CODEC_ID_MPEG4 || enc->codec_id == AV_CODEC_ID_H263) { - int error = enc->strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL; + int error = s->strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL; av_log(s, error ? AV_LOG_ERROR : AV_LOG_WARNING, "Codec %s is not supported in the official FLV specification,\n", avcodec_get_name(enc->codec_id)); |