Browse Source

avformat/async: Add missing else

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
f2d7409c72
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/async.c

+ 1
- 1
libavformat/async.c 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;


Loading…
Cancel
Save