pmpdec: check that there is at least one audio packet.
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 3 Jan 2014 15:40:22 +0000 (16:40 +0100)
commit1b5d065ca722eb8028c7a08e054b6da3419faf5d
treeddf927b29f7e0ca6fce04cbec76d7c648898d516
parent94a417acc05cc5151b473abc0bf51fad26f8c5a0
pmpdec: check that there is at least one audio packet.

The code cannot handle there being none, but that should not happen for
valid files.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
libavformat/pmpdec.c