lavf/mp3: Properly check return values of seeks and reads while reading the header
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 26 Feb 2016 17:10:08 +0000 (17:10 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Sun, 28 Feb 2016 13:57:35 +0000 (13:57 +0000)
commit1c9215e580b6436d1aff3c0118ef01269712ebd9
tree47fd3c67d077ccbca6d52de5d66402e008c4560b
parentaf2568a675a72b1715d2852a59199ee63b406556
lavf/mp3: Properly check return values of seeks and reads while reading the header

Fixes large amounts of seeking past EOF, which could be extremely
slow over a network.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavformat/mp3dec.c