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>
Mon, 12 Sep 2011 02:39:12 +0000 (04:39 +0200)
commitf9e083a156f19094cb6fcd134c1ca4ca899a1a6d
tree9704d63ff782326185b525ef33d98fbd9879472f
parentac1d489320f476c18d6a8125f73389aecb73f3d3
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>
libavformat/avidec.c