OSDN Git Service

matroskadec: properly fall back to generic seek.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 12 Feb 2012 13:09:03 +0000 (14:09 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 13 Feb 2012 19:04:09 +0000 (20:04 +0100)
commit47e015e6f1913f7da943898eb7716a954f947ff7
treecb4b2de9cd0441221bdc59e39719f2d270555343
parentc18899d432059b963855afbe8ab68776985ef306
matroskadec: properly fall back to generic seek.

In particular, detect when the index is obviously broken.
This fixes the worst symptoms of trac issue #958 and makes
sense to allow seeking in files without index.
However it is possible that there still is an index parsing bug
with that file.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
libavformat/matroskadec.c