* commit '83548fe894':
  lavf: fix usage of AVIOContext.seekable

Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-03-21 17:02:30 -03:00
commit 4de591e6fb
65 changed files with 134 additions and 130 deletions

View file

@ -876,7 +876,7 @@ static int nut_read_header(AVFormatContext *s)
s->internal->data_offset = pos - 8;
if (bc->seekable) {
if (bc->seekable & AVIO_SEEKABLE_NORMAL) {
int64_t orig_pos = avio_tell(bc);
find_and_decode_index(nut);
avio_seek(bc, orig_pos, SEEK_SET);