avformat/seek: Remove dead code
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com> Reviewed-by: Marth64 <marth64@proxyid.net>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user