Commit a1d9ca5f authored by alexc's avatar alexc

Fix a __warn_memset_zero_len gcc-4.4 warning.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20521 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8418d066
...@@ -670,6 +670,7 @@ static void zero_remaining(unsigned int b, unsigned int b_max, ...@@ -670,6 +670,7 @@ static void zero_remaining(unsigned int b, unsigned int b_max,
while (b < b_max) while (b < b_max)
count += div_blocks[b]; count += div_blocks[b];
if (count)
memset(buf, 0, sizeof(*buf) * count); memset(buf, 0, sizeof(*buf) * count);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment