Commit f2d7409c authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/async: Add missing else

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent be0fd074
...@@ -439,7 +439,7 @@ static int64_t async_test_seek(URLContext *h, int64_t pos, int whence) ...@@ -439,7 +439,7 @@ static int64_t async_test_seek(URLContext *h, int64_t pos, int whence)
if (whence == AVSEEK_SIZE) { if (whence == AVSEEK_SIZE) {
return c->logical_size; return c->logical_size;
} if (whence == SEEK_CUR) { } else if (whence == SEEK_CUR) {
new_logical_pos = pos + c->logical_pos; new_logical_pos = pos + c->logical_pos;
} else if (whence == SEEK_SET){ } else if (whence == SEEK_SET){
new_logical_pos = pos; new_logical_pos = pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment