comparison alsdec.c @ 10523:af172182963b libavcodec

Fix a __warn_memset_zero_len gcc-4.4 warning.
author alexc
date Thu, 12 Nov 2009 01:44:38 +0000
parents 9b56cd1e37b7
children e5d7b184a5b0
comparison
equal deleted inserted replaced
10522:9b56cd1e37b7 10523:af172182963b
668 unsigned int count = 0; 668 unsigned int count = 0;
669 669
670 while (b < b_max) 670 while (b < b_max)
671 count += div_blocks[b]; 671 count += div_blocks[b];
672 672
673 if (count)
673 memset(buf, 0, sizeof(*buf) * count); 674 memset(buf, 0, sizeof(*buf) * count);
674 } 675 }
675 676
676 677
677 /** Decodes blocks independently. 678 /** Decodes blocks independently.