Merge commit '83548fe894cdb455cc127f754d09905b6d23c173'

* commit '83548fe894cdb455cc127f754d09905b6d23c173':
  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
65 changed files with 134 additions and 130 deletions

View File

@ -374,7 +374,7 @@ static int ape_read_header(AVFormatContext * s)
}
/* try to read APE tags */
if (pb->seekable) {
if (pb->seekable & AVIO_SEEKABLE_NORMAL) {
ff_ape_parse_tag(s);
avio_seek(pb, 0, SEEK_SET);
}