mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Fix a __warn_memset_zero_len gcc-4.4 warning.
Originally committed as revision 20521 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0c0ccc28a8
commit
0bb622ba4d
@ -670,6 +670,7 @@ static void zero_remaining(unsigned int b, unsigned int b_max,
|
||||
while (b < b_max)
|
||||
count += div_blocks[b];
|
||||
|
||||
if (count)
|
||||
memset(buf, 0, sizeof(*buf) * count);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user