Commit e2c95e6b authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9d230ba9
...@@ -898,7 +898,6 @@ static int64_t nut_read_timestamp(AVFormatContext *s, int stream_index, ...@@ -898,7 +898,6 @@ static int64_t nut_read_timestamp(AVFormatContext *s, int stream_index,
do { do {
pos = find_startcode(bc, SYNCPOINT_STARTCODE, pos) + 1; pos = find_startcode(bc, SYNCPOINT_STARTCODE, pos) + 1;
if (pos < 1) { if (pos < 1) {
av_assert0(nut->next_startcode == 0);
av_log(s, AV_LOG_ERROR, "read_timestamp failed.\n"); av_log(s, AV_LOG_ERROR, "read_timestamp failed.\n");
return AV_NOPTS_VALUE; return AV_NOPTS_VALUE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment