diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-21 17:04:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-21 17:04:11 +0200 |
commit | f2d7409c72563745d38bc986f28c06741194e6c5 (patch) | |
tree | 07b7785035b3aec77f1d4a1580d1c82955f8394e | |
parent | be0fd074579cd50149a0cff88111bf1b6efb310a (diff) | |
download | ffmpeg-f2d7409c72563745d38bc986f28c06741194e6c5.tar.gz |
avformat/async: Add missing else
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavformat/async.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/async.c b/libavformat/async.c index be02308f29..c2df274c7d 100644 --- a/libavformat/async.c +++ b/libavformat/async.c @@ -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; |