aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-05-03 10:32:45 +0200
committerNicolas George <nicolas.george@normalesup.org>2013-05-04 14:11:53 +0200
commitd608a27d9e28d24ab56acc4ea6bfb13b2802035c (patch)
tree671bead67fdea2aa663ccda4d7a18ea23e30f6cb
parent3fc66dfef22c044d1bbe36d0739441205bd99923 (diff)
downloadffmpeg-d608a27d9e28d24ab56acc4ea6bfb13b2802035c.tar.gz
lavf/concatdec: remove invalid check for AVSEEK_FLAG_BACKWARD.
-rw-r--r--libavformat/concatdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index 5359ad149d..78362e2c65 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -341,7 +341,7 @@ static int real_seek(AVFormatContext *avf, int stream,
return ret;
ret = try_seek(avf, stream, min_ts, ts, max_ts, flags);
- if (ret < 0 && !(flags & AVSEEK_FLAG_BACKWARD) &&
+ if (ret < 0 &&
left < cat->nb_files - 1 &&
cat->files[left + 1].start_time < max_ts) {
if ((ret = open_file(avf, left + 1)) < 0)