Justin Ruggles <[email protected]> added the comment:

The heart of the issue seems to be that voc_get_packet() changes the codec_id
when reading each packet based on input stream data.  If a file is damaged, a
random value will most likely make it CODEC_ID_NONE since there are only 8 valid
codec_id's for it to choose from.  voc_get_packet() should be fixed to check for
an invalid codec_id, and the pcm decoder should be fixed to at least not crash
when encountering such changes.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2502>
________________________________________________

Reply via email to