avformat/async: Add missing else

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-07-21 17:04:11 +02:00
parent be0fd07457
commit f2d7409c72
1 changed files with 1 additions and 1 deletions

View File

@ -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;