1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avformat/seek: Remove dead code

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Reviewed-by: Marth64 <marth64@proxyid.net>
This commit is contained in:
Zhao Zhili
2025-01-24 15:24:23 +08:00
parent 1438f6997d
commit ef3ffd8c5c

View File

@ -697,10 +697,6 @@ int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts,
return ret; return ret;
} }
if (ffifmt(s->iformat)->read_timestamp) {
// try to seek via read_timestamp()
}
// Fall back on old API if new is not implemented but old is. // Fall back on old API if new is not implemented but old is.
// Note the old API has somewhat different semantics. // Note the old API has somewhat different semantics.
if (ffifmt(s->iformat)->read_seek || 1) { if (ffifmt(s->iformat)->read_seek || 1) {