From: <th...@ke...> - 2008-04-09 13:44:17
|
CVS Root: /cvs/gstreamer Module: gst-plugins-bad Changes by: thaytan Date: Wed Apr 09 2008 13:44:05 UTC Log message: * gst/nsf/nes_apu.c: (apu_process): * gst/nsf/nes_apu.h: Don't do void pointer arithmetic - it's a gcc extension. Modified files: . : ChangeLog gst/nsf : nes_apu.c nes_apu.h Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/ChangeLog.diff?r1=1.3247&r2=1.3248 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/nsf/nes_apu.c.diff?r1=1.2&r2=1.3 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-bad/gst/nsf/nes_apu.h.diff?r1=1.2&r2=1.3 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-bad/ChangeLog,v retrieving revision 1.3247 retrieving revision 1.3248 diff -u -d -r1.3247 -r1.3248 --- ChangeLog 6 Apr 2008 20:18:15 -0000 1.3247 +++ ChangeLog 9 Apr 2008 13:43:49 -0000 1.3248 @@ -1,3 +1,9 @@ +2008-04-09 Jan Schmidt <Jan...@su...> + + * gst/nsf/nes_apu.c: (apu_process): + * gst/nsf/nes_apu.h: + Don't do void pointer arithmetic - it's a gcc extension. 2008-04-06 Tim-Philipp Müller <tim at centricular dot net> * ext/jack/gstjackaudiosink.c: (gst_jack_audio_sink_class_init): Index: nes_apu.c RCS file: /cvs/gstreamer/gst-plugins-bad/gst/nsf/nes_apu.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- nes_apu.c 25 Mar 2008 15:56:12 -0000 1.2 +++ nes_apu.c 9 Apr 2008 13:43:50 -0000 1.3 @@ -972,7 +972,7 @@ void -apu_process (void *buffer, int num_samples) +apu_process (uint8 * buffer, int num_samples) { apudata_t *d; uint32 elapsed_cycles; @@ -1210,6 +1210,11 @@ /* ** $Log$ +** Revision 1.3 2008-04-09 13:43:50 thaytan +** * gst/nsf/nes_apu.c: (apu_process): +** * gst/nsf/nes_apu.h: +** Don't do void pointer arithmetic - it's a gcc extension. +** ** Revision 1.2 2008-03-25 15:56:12 slomo ** Patch by: Andreas Henriksson <andreas at fatal dot set> ** * gst/nsf/Makefile.am: Index: nes_apu.h RCS file: /cvs/gstreamer/gst-plugins-bad/gst/nsf/nes_apu.h,v --- nes_apu.h 25 Mar 2008 15:56:12 -0000 1.2 +++ nes_apu.h 9 Apr 2008 13:43:51 -0000 1.3 @@ -258,7 +258,7 @@ int sample_bits; int refresh_rate; - void (*process)(void *buffer, int num_samples); + void (*process)(uint8 *buffer, int num_samples); /* $$$ ben : last error string */ const char * errstr; @@ -277,7 +277,7 @@ extern void apu_destroy(apu_t *apu); extern int apu_setext(apu_t *apu, apuext_t *ext); extern int apu_setfilter(int filter_type); -extern void apu_process(void *buffer, int num_samples); +extern void apu_process(uint8 *buffer, int num_samples); extern void apu_reset(void); extern int apu_setchan(int chan, boolean enabled); extern int32 apu_getcyclerate(void); @@ -301,6 +301,11 @@ +** Revision 1.3 2008-04-09 13:43:51 thaytan |