This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Fix possible infinite loop decoding als.
Reviewed-by: Thilo Borgmann
tags/n0.10
Philippe Saint-Pierre
Carl Eugen Hoyos
13 years ago
parent
4452d58c72
commit
f0f2babca2
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/alsdec.c
+ 1
- 1
libavcodec/alsdec.c
View File
@@ -1012,7 +1012,7 @@ static void zero_remaining(unsigned int b, unsigned int b_max,
unsigned int count = 0;
while (b < b_max)
count += div_blocks[b];
count += div_blocks[b
++
];
if (count)
memset(buf, 0, sizeof(*buf) * count);
Write
Preview
Loading…
Cancel
Save