gst/audioresample/resample.h: Declare struct _ResampleState.buffer as unsigned char...
authorMichael Smith <msmith@xiph.org>
Tue, 3 Jan 2006 17:27:13 +0000 (17:27 +0000)
committerMichael Smith <msmith@xiph.org>
Tue, 3 Jan 2006 17:27:13 +0000 (17:27 +0000)
Original commit message from CVS:
* gst/audioresample/resample.h:
Declare struct _ResampleState.buffer as unsigned char *, not void *,
since we do arithmetic on it.

ChangeLog
gst/audioresample/resample.h

index 48b3b8b..b697e7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-03  Michael Smith  <msmith@fluendo.com>
+
+       * gst/audioresample/resample.h:
+         Declare struct _ResampleState.buffer as unsigned char *, not void *,
+         since we do arithmetic on it.
+
 2006-01-02  Tim-Philipp Müller  <tim at centricular dot net>
 
        * gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_init),
index fd67bf2..5747039 100644 (file)
@@ -65,7 +65,7 @@ struct _ResampleState {
 
         int sample_size;
 
-        void *buffer;
+        unsigned char *buffer;
         int buffer_len;
         int buffer_filled;