Correctly skip complete INDX chunks, i.e. read the 32-bit header correctly
commitcbcd1120df27d0ca56a6819946c01c7ac1eae043
authorrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 10 Mar 2009 12:55:29 +0000 (10 12:55 +0000)
committerrbultje <rbultje@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Tue, 10 Mar 2009 12:55:29 +0000 (10 12:55 +0000)
tree3abd63dc963a063ce9edf48d08a564cde0b74fac
parent374304c96af84510c94bbe72649602cc54aed995
Correctly skip complete INDX chunks, i.e. read the 32-bit header correctly
and if the size is broken (20 bytes, header-only), calculate the expected
size and skip the index entries anyway. See "[PATCH] rmdec.c: correctly
skip indexes" thread.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17924 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
libavformat/rmdec.c