Commit 1bbfaba1 authored by Eran Kornblau's avatar Eran Kornblau Committed by Michael Niedermayer

avformat/mov: dont print frma warning when format is the same

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 1693336a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment