[FFmpeg-cvslog] lavf/concatdec: remove invalid check for AVSEEK_FLAG_BACKWARD.

Nicolas George git at videolan.org
Sat May 4 17:11:28 CEST 2013


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Fri May  3 10:32:45 2013 +0200| [d608a27d9e28d24ab56acc4ea6bfb13b2802035c] | committer: Nicolas George

lavf/concatdec: remove invalid check for AVSEEK_FLAG_BACKWARD.

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

 libavformat/concatdec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index 5359ad1..78362e2 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)



More information about the ffmpeg-cvslog mailing list