mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 13:02:13 +00:00
avformat/async: Add missing else
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
be0fd07457
commit
f2d7409c72
@ -439,7 +439,7 @@ static int64_t async_test_seek(URLContext *h, int64_t pos, int whence)
|
||||
|
||||
if (whence == AVSEEK_SIZE) {
|
||||
return c->logical_size;
|
||||
} if (whence == SEEK_CUR) {
|
||||
} else if (whence == SEEK_CUR) {
|
||||
new_logical_pos = pos + c->logical_pos;
|
||||
} else if (whence == SEEK_SET){
|
||||
new_logical_pos = pos;
|
||||
|
Loading…
Reference in New Issue
Block a user