aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bethsoftvideo.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-03 14:16:40 +0300
committerMartin Storsjö <martin@martin.st>2013-09-03 22:57:52 +0300
commit35cbc98b720db95b923cb2d745f77bb2ee4363dc (patch)
tree186693561ce0101e07131e8649963f9aa00cdc5b /libavcodec/bethsoftvideo.c
parentd719981273bc779c7d1e879d88404fd867f93a0e (diff)
downloadffmpeg-35cbc98b720db95b923cb2d745f77bb2ee4363dc.tar.gz
alac: Check that the channels fit at the given offset
The code tries to decode a number of channels at the offset given by the ff_alac_channel_layout_offsets table. Even if the number of channels decoded so far doesn't exceed the total number of channels, we need to check that we actually can decode that number of channels at this offset as well. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/bethsoftvideo.c')
0 files changed, 0 insertions, 0 deletions