Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/movenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index c059407793..5594c6d913 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -5274,7 +5274,7 @@ static int mov_write_header(AVFormatContext *s)
}
if (track->mode != MODE_MOV &&
track->enc->codec_id == AV_CODEC_ID_MP3 && track->timescale < 16000) {
- if (track->enc->strict_std_compliance >= FF_COMPLIANCE_NORMAL) {
+ if (s->strict_std_compliance >= FF_COMPLIANCE_NORMAL) {
av_log(s, AV_LOG_ERROR, "track %d: muxing mp3 at %dhz is not standard, to mux anyway set strict to -1\n",
i, track->enc->sample_rate);
ret = AVERROR(EINVAL);