asf: only try to read asf index once
authorJoakim Plate <elupus@ecce.se>
Mon, 12 Sep 2011 19:35:32 +0000 (21:35 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Sep 2011 20:12:14 +0000 (22:12 +0200)
commit6c9a24636b9b4f1289191c362877285a58a0c48a
tree47c71cc0a2099e8cededc3f84a29e47cf593aa67
parent9efae6a16109e055d763dd6a5cd1667866033f61
asf: only try to read asf index once

This avoid retrying to read ASF index in files for every
attempt to seek. This makes a big difference to protocols
with slow seeking (for example http)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/asfdec.c