[FFmpeg-soc] [soc]: r5121 - als/alsdec.c
thilo.borgmann
subversion at mplayerhq.hu
Sat Aug 15 13:33:24 CEST 2009
Author: thilo.borgmann
Date: Sat Aug 15 13:33:24 2009
New Revision: 5121
Log:
Elaborate comment about aborting in case of a damaged stream.
Modified:
als/alsdec.c
Modified: als/alsdec.c
==============================================================================
--- als/alsdec.c Sat Aug 15 13:28:10 2009 (r5120)
+++ als/alsdec.c Sat Aug 15 13:33:24 2009 (r5121)
@@ -518,7 +518,8 @@ static int read_block_data(ALSDecContext
else
sub_blocks = get_bits1(gb) ? 4 : 1;
- // Do not continue in case of a damaged stream
+ // do not continue in case of a damaged stream since
+ // block_length must be evenly divisible by sub_blocks
if (block_length % sub_blocks)
return -1;
More information about the FFmpeg-soc
mailing list