Correctly skip complete INDX chunks, i.e. read the 32-bit header correctly
authorRonald S. Bultje <rsbultje@gmail.com>
Tue, 10 Mar 2009 12:55:29 +0000 (12:55 +0000)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 10 Mar 2009 12:55:29 +0000 (12:55 +0000)
commitb5b9ff2a1f1c3747f739f296c05f3c14373dd325
treebe0aa1583213bcd7b82ad7106775564b6a4d13c6
parent5e622c401f4f7e4063999dafebee37d7302b6892
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.

Originally committed as revision 17924 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rmdec.c