shithub: dumb

Download patch

ref: 52da4eb628a4a0f96495b42b75aac6b3a76d101a
parent: db718382dfb187fbdaa16a9dd4904c073fb8004d
author: Chris Moeller <kode54@gmail.com>
date: Mon Jan 11 04:02:16 EST 2010

{10/17/2009 6:03:36 AM}- Fixed a stupid bug in the AMF reader
- Version is now 0.9.9.6

git-tfs-id: [http://localhost:8080/tfs/DefaultCollection/]$/foobar2000/files/plugins.root;C351

--- a/dumb/src/it/readamf.c
+++ b/dumb/src/it/readamf.c
@@ -288,6 +288,8 @@
 		return NULL;
 	}
 
+	memset( sigdata->channel_volume, 64, DUMB_IT_N_CHANNELS );
+
 	if ( ver >= 11 ) {
 		int nchannels = ( ver >= 13 ) ? 32 : 16;
 		for ( i = 0; i < nchannels; i++ ) {