nutdec: remove assert that is wrong for some new duration code.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Jun 2012 15:18:46 +0000 (17:18 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Jun 2012 15:22:37 +0000 (17:22 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/nutdec.c

index d19127c..97f0b92 100644 (file)
@@ -898,7 +898,6 @@ static int64_t nut_read_timestamp(AVFormatContext *s, int stream_index,
     do {
         pos = find_startcode(bc, SYNCPOINT_STARTCODE, pos) + 1;
         if (pos < 1) {
-            av_assert0(nut->next_startcode == 0);
             av_log(s, AV_LOG_ERROR, "read_timestamp failed.\n");
             return AV_NOPTS_VALUE;
         }