mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-09 02:30:45 +08:00
Fix possible infinite loop decoding als.
Reviewed-by: Thilo Borgmann
This commit is contained in:

committed by
Carl Eugen Hoyos

parent
4452d58c72
commit
f0f2babca2
@@ -1012,7 +1012,7 @@ static void zero_remaining(unsigned int b, unsigned int b_max,
|
|||||||
unsigned int count = 0;
|
unsigned int count = 0;
|
||||||
|
|
||||||
while (b < b_max)
|
while (b < b_max)
|
||||||
count += div_blocks[b];
|
count += div_blocks[b++];
|
||||||
|
|
||||||
if (count)
|
if (count)
|
||||||
memset(buf, 0, sizeof(*buf) * count);
|
memset(buf, 0, sizeof(*buf) * count);
|
||||||
|
Reference in New Issue
Block a user