projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
aacdec: Try do decode raw packets if header was not found
[paraslash.git]
/
write.c
diff --git
a/write.c
b/write.c
index 538651d662e1ad917b36525e91ed5a38283b231a..6e4ee0639654eac69ae76cb94e5a0bcffb316688 100644
(file)
--- a/
write.c
+++ b/
write.c
@@
-227,7
+227,7
@@
out:
*/
static size_t check_wave(void)
{
- unsigned char *a = audiobuf;
+ unsigned char *a =
(unsigned char*)
audiobuf;
if (a[0] != 'R' || a[1] != 'I' || a[2] != 'F' || a[3] != 'F')
return WAV_HEADER_LEN;
conf.channels_arg = (unsigned) a[22];