[FFmpeg-cvslog] r22238 - trunk/libavcodec/alsdec.c
thilo.borgmann
subversion
Sat Mar 6 18:13:31 CET 2010
Author: thilo.borgmann
Date: Sat Mar 6 18:13:31 2010
New Revision: 22238
Log:
Fix last frame block size correction.
Modified:
trunk/libavcodec/alsdec.c
Modified: trunk/libavcodec/alsdec.c
==============================================================================
--- trunk/libavcodec/alsdec.c Sat Mar 6 17:57:43 2010 (r22237)
+++ trunk/libavcodec/alsdec.c Sat Mar 6 18:13:31 2010 (r22238)
@@ -519,7 +519,7 @@ static void get_block_sizes(ALSDecContex
unsigned int remaining = ctx->cur_frame_length;
for (b = 0; b < ctx->num_blocks; b++) {
- if (remaining < div_blocks[b]) {
+ if (remaining <= div_blocks[b]) {
div_blocks[b] = remaining;
ctx->num_blocks = b + 1;
break;
More information about the ffmpeg-cvslog
mailing list