ffmpeg: infinite loop (als decoder)
CID 3176. Patch proposed upstream.
This commit is contained in:
@@ -992,7 +992,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