ffmpeg: infinite loop (als decoder)

CID 3176.  Patch proposed upstream.
This commit is contained in:
Philippe Saint-Pierre
2012-01-03 22:49:01 -05:00
parent 9d991e3c99
commit 1923ea178d
@@ -992,7 +992,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);