OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bf5a0c
)
Fix last frame block size correction.
author
Thilo Borgmann
<thilo.borgmann@googlemail.com>
Sat, 6 Mar 2010 17:13:31 +0000
(17:13 +0000)
committer
Thilo Borgmann
<thilo.borgmann@googlemail.com>
Sat, 6 Mar 2010 17:13:31 +0000
(17:13 +0000)
Originally committed as revision 22238 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/alsdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/alsdec.c
b/libavcodec/alsdec.c
index
91b31d1
..
c39fced
100644
(file)
--- a/
libavcodec/alsdec.c
+++ b/
libavcodec/alsdec.c
@@
-519,7
+519,7
@@
static void get_block_sizes(ALSDecContext *ctx, unsigned int *div_blocks,
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;