OSDN Git Service

downgrade mov negative ctts log message to warning, patch by Art Clarke, aclarke...
authorArt Clarke <aclarke@vlideshow.com>
Thu, 31 Jul 2008 19:44:42 +0000 (19:44 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Thu, 31 Jul 2008 19:44:42 +0000 (19:44 +0000)
Originally committed as revision 14492 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mov.c

index 2f406c4..7b2d00c 100644 (file)
@@ -1125,7 +1125,7 @@ static int mov_read_ctts(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
         int duration =get_be32(pb);
 
         if (duration < 0) {
-            av_log(c->fc, AV_LOG_ERROR, "negative ctts, ignoring\n");
+            av_log(c->fc, AV_LOG_WARNING, "negative ctts, ignoring\n");
             sc->ctts_count = 0;
             url_fskip(pb, 8 * (entries - i - 1));
             break;