aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2025-01-24 15:24:23 +0800
committerZhao Zhili <zhilizhao@tencent.com>2025-02-04 01:22:57 +0800
commitef3ffd8c5c75995132a0fb6d7c59b6a85e019028 (patch)
treecb5a807efe542194a92d22951158bb8a1fbd0f40
parent1438f6997db70945173f01aea1768e3b27ce2679 (diff)
downloadffmpeg-ef3ffd8c5c75995132a0fb6d7c59b6a85e019028.tar.gz
avformat/seek: Remove dead code
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com> Reviewed-by: Marth64 <marth64@proxyid.net>
-rw-r--r--libavformat/seek.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/seek.c b/libavformat/seek.c
index 9822f9d83d..a7e5ac9a63 100644
--- a/libavformat/seek.c
+++ b/libavformat/seek.c
@@ -697,10 +697,6 @@ int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts,
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.
// Note the old API has somewhat different semantics.
if (ffifmt(s->iformat)->read_seek || 1) {