Commit 077cd86f authored by melanson's avatar melanson

if audio is PCM, push it through (sync is not perfect yet)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3528 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a56a98f3
......@@ -493,8 +493,6 @@ static int vmdaudio_loadsound(VmdAudioContext *s, unsigned char *data,
memset(data, 0x00, s->block_align * 2);
bytes_decoded = s->block_align * 2;
}
} else {
if (s->bits == 16) {
} else {
/* copy the data but convert it to signed */
for (i = 0; i < s->block_align; i++)
......@@ -502,7 +500,6 @@ bytes_decoded = s->block_align * 2;
bytes_decoded = s->block_align * 2;
}
}
}
return bytes_decoded;
}
......
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