[FFmpeg-devel] [PATCH] Fixed a segfault in DCA decoder

Laurent Aimar fenrir
Wed Feb 24 21:29:40 CET 2010


Hi,

 The attached patch fixes a segfault in the DCA decoder with a corrupted
stream.
 It happens when the number of channels defined by DCAContext:acmod is lower
than DCAContext:prim_channels. In this case, dca_subsubframe() will call
qmf_32_subbands() using s->channel_order_tab[] entries equal to -1.

-- 
fenrir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dca-segfault.patch
Type: text/x-diff
Size: 536 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100224/d0ac3658/attachment.patch>



More information about the ffmpeg-devel mailing list