[FFmpeg-devel] [PATCH] mpc demuxer: return -1 on negative tag size instead of an endless loop
Wed Sep 30 15:29:08 CEST 2009
On Wed, Sep 30, 2009 at 03:22:38PM +0200, Reimar D?ffinger wrote:
> playing http://samples.mplayerhq.hu/A-codecs/musepack/sv8/sv8-tags.mpc
> hangs near the end forever.
> This is because size is negative at the end, causing the loop to parse
> the same tag over and over forever.
> Probably the code should also be extended to handle the file properly,
> but either way an endless loop should be made impossible, e.g. like
More information about the ffmpeg-devel