Browse Source

Fix a __warn_memset_zero_len gcc-4.4 warning.

Originally committed as revision 20521 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Alex Converse 16 years ago
parent
commit
0bb622ba4d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/alsdec.c

+ 1
- 0
libavcodec/alsdec.c View File

@@ -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…
Cancel
Save