duration must not be scaled
authorAurelien Jacobs <aurel@gnuage.org>
Mon, 9 Jul 2007 13:51:06 +0000 (13:51 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Mon, 9 Jul 2007 13:51:06 +0000 (13:51 +0000)
Originally committed as revision 9558 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroskadec.c

index b178529..d54a867 100644 (file)
@@ -2501,7 +2501,6 @@ matroska_parse_blockgroup (MatroskaDemuxContext *matroska,
             case MATROSKA_ID_BLOCKDURATION: {
                 if ((res = ebml_read_uint(matroska, &id, &duration)) < 0)
                     break;
             case MATROSKA_ID_BLOCKDURATION: {
                 if ((res = ebml_read_uint(matroska, &id, &duration)) < 0)
                     break;
-                duration /= matroska->time_scale;
                 break;
             }
 
                 break;
             }