avidec: Check return value of more avio_seek calls
authorJoakim Plate <elupus@ecce.se>
Mon, 12 Sep 2011 02:07:36 +0000 (04:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 16:03:11 +0000 (18:03 +0200)
commit4a721b18edfdea44643ff9bb6ed80ee176e71f1b
tree217d1cd585acdb40a963f0222dbd0f3d657d358f
parentf0869d3721a21c022f564251f93eb095843490f1
avidec: Check return value of more avio_seek calls

The move of avio_seek in avi_read_seek is to avoiding modifying
state if the seek would fail.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f9e083a156f19094cb6fcd134c1ca4ca899a1a6d)
libavformat/avidec.c