1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavf/concatdec: remove invalid check for AVSEEK_FLAG_BACKWARD.

This commit is contained in:
Nicolas George 2013-05-03 10:32:45 +02:00
parent 3fc66dfef2
commit d608a27d9e

View File

@ -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)