Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 192973 Details for
Bug 138002
toolame-0.2l-{r1,r2) incorrectly parses RIFF header
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
toolame-02l-uint32_t.patch
toolame-02l-uint32_t.patch (text/plain), 624 bytes, created by
Samuli Suominen (RETIRED)
on 2009-05-30 12:27:49 UTC
(
hide
)
Description:
toolame-02l-uint32_t.patch
Filename:
MIME Type:
Creator:
Samuli Suominen (RETIRED)
Created:
2009-05-30 12:27:49 UTC
Size:
624 bytes
patch
obsolete
>diff -ur toolame-02l.orig/audio_read.c toolame-02l/audio_read.c >--- toolame-02l.orig/audio_read.c 2003-03-02 03:18:30.000000000 +0200 >+++ toolame-02l/audio_read.c 2009-05-30 15:24:41.000000000 +0300 >@@ -1,4 +1,5 @@ > #include <stdio.h> >+#include <stdint.h> > #include <stdlib.h> > #include <string.h> > #include "common.h" >@@ -329,7 +330,7 @@ > } > } > if (NativeByteOrder == order_littleEndian) { >- samplerate = *(unsigned long *) (&wave_header_buffer[24]); >+ samplerate = *(uint32_t *)(&wave_header_buffer[24]); > } else { > samplerate = wave_header_buffer[27] + > (wave_header_buffer[26] << 8) +
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 138002
: 192973