Browse Source

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

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Eran Kornblau Michael Niedermayer 10 years ago
parent
commit
1bbfaba196
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      libavformat/mov.c

+ 5
- 3
libavformat/mov.c 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;
}



Loading…
Cancel
Save