pmpdec: check for EOF while reading index.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 23 Feb 2013 18:44:46 +0000 (19:44 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 23 Feb 2013 23:01:56 +0000 (00:01 +0100)
commit50a37f9202a86c3dcdd7076ecf8f0d446c542b25
treeecea21ce1e610d3d532cc199adf747bcfa8814ad
parent82d79289db03ddc85ea6d5c81a5151e1ad64b2b5
pmpdec: check for EOF while reading index.

Otherwise even a tiny file can trigger a huge memory allocation.

Related to ticket #2298.

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