aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-26 15:23:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-26 15:23:23 +0200
commit46ad2c4aeddfca20c443f98a0cab117c783838e8 (patch)
tree526d59aa6370f7e5160282ef26e42e247312bbf4
parentbf16872feca859857842a947dd584de5c3d6cc6a (diff)
downloadffmpeg-46ad2c4aeddfca20c443f98a0cab117c783838e8.tar.gz
avformat/utils: remove assert that tests the same condition as the if() directly above
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 14896cc49c..6e828f7ce9 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1911,7 +1911,6 @@ int64_t ff_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts,
av_log(s, AV_LOG_ERROR, "read_timestamp() failed in the middle\n");
return -1;
}
- assert(ts != AV_NOPTS_VALUE);
if (target_ts <= ts) {
pos_limit = start_pos - 1;
pos_max = pos;