diff --git a/libavformat/mov.c b/libavformat/mov.c index e2f107ff07..944bd86443 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4005,9 +4005,11 @@ static int mov_read_frma(MOVContext *c, AVIOContext *pb, MOVAtom atom) break; default: - av_log(c->fc, AV_LOG_WARNING, - "ignoring 'frma' atom of '%.4s', stream format is '%.4s'\n", - (char*)&format, (char*)&sc->format); + if (format != sc->format) { + av_log(c->fc, AV_LOG_WARNING, + "ignoring 'frma' atom of '%.4s', stream format is '%.4s'\n", + (char*)&format, (char*)&sc->format); + } break; }