You've already forked FFmpeg
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:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user