[FFmpeg-cvslog] avformat/async: Add missing else
Michael Niedermayer
git at videolan.org
Tue Jul 21 17:49:55 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Jul 21 17:04:11 2015 +0200| [f2d7409c72563745d38bc986f28c06741194e6c5] | committer: Michael Niedermayer
avformat/async: Add missing else
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2d7409c72563745d38bc986f28c06741194e6c5
---
libavformat/async.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/async.c b/libavformat/async.c
index be02308..c2df274 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;
More information about the ffmpeg-cvslog
mailing list