[FFmpeg-cvslog] nutdec: remove assert that is wrong for some new duration code.

Michael Niedermayer git at videolan.org
Sat Jun 30 17:23:42 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 30 17:18:46 2012 +0200| [e2c95e6bd8e89b4f8b4105ef521f8ac03a23ce8f] | committer: Michael Niedermayer

nutdec: remove assert that is wrong for some new duration code.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e2c95e6bd8e89b4f8b4105ef521f8ac03a23ce8f
---

 libavformat/nutdec.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index d19127c..97f0b92 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -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;
         }



More information about the ffmpeg-cvslog mailing list