1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Eran Kornblau 2016-02-04 15:31:25 +02:00 committed by Michael Niedermayer
parent 1693336aed
commit 1bbfaba196

View File

@ -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;
}