diff options
author | Andreas Henriksson <andreas@fatal.set> | 2008-03-25 15:56:13 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-03-25 15:56:13 +0000 |
commit | a4d0dacec222cbeb9853b56f4900f5881d67b99b (patch) | |
tree | 953651f2ca39872d58fc2d0212cd9b2919088850 /gst/nsf/vrcvisnd.c | |
parent | 09ec92549f052d8cb8c157107ccd1359e6f2da1b (diff) | |
download | gst-plugins-bad-a4d0dacec222cbeb9853b56f4900f5881d67b99b.tar.gz gst-plugins-bad-a4d0dacec222cbeb9853b56f4900f5881d67b99b.tar.bz2 gst-plugins-bad-a4d0dacec222cbeb9853b56f4900f5881d67b99b.zip |
gst/nsf/: Update our internal nosefart to nosefart-2.7-mls to fix segfaults on some files. Fixes bug #498237.
Original commit message from CVS:
Patch by: Andreas Henriksson <andreas at fatal dot set>
* gst/nsf/Makefile.am:
* gst/nsf/dis6502.h:
* gst/nsf/fds_snd.c:
* gst/nsf/fds_snd.h:
* gst/nsf/fmopl.c:
* gst/nsf/fmopl.h:
* gst/nsf/gstnsf.c:
* gst/nsf/log.c:
* gst/nsf/log.h:
* gst/nsf/memguard.c:
* gst/nsf/memguard.h:
* gst/nsf/mmc5_snd.c:
* gst/nsf/mmc5_snd.h:
* gst/nsf/nes6502.c:
* gst/nsf/nes6502.h:
* gst/nsf/nes_apu.c:
* gst/nsf/nes_apu.h:
* gst/nsf/nsf.c:
* gst/nsf/nsf.h:
* gst/nsf/osd.h:
* gst/nsf/types.h:
* gst/nsf/vrc7_snd.c:
* gst/nsf/vrc7_snd.h:
* gst/nsf/vrcvisnd.c:
* gst/nsf/vrcvisnd.h:
Update our internal nosefart to nosefart-2.7-mls to fix segfaults
on some files. Fixes bug #498237.
Remove some // comments, fix some compiler warnings and use pow()
instead of a slow, selfmade implementation.
Diffstat (limited to 'gst/nsf/vrcvisnd.c')
-rw-r--r-- | gst/nsf/vrcvisnd.c | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/gst/nsf/vrcvisnd.c b/gst/nsf/vrcvisnd.c index e9652b56..56e423cf 100644 --- a/gst/nsf/vrcvisnd.c +++ b/gst/nsf/vrcvisnd.c @@ -23,7 +23,6 @@ ** $Id$ */ -#include <stdio.h> #include "types.h" #include "vrcvisnd.h" #include "nes_apu.h" @@ -175,7 +174,7 @@ static apu_memwrite vrcvi_memwrite[] = { {0x9000, 0x9002, vrcvi_write}, /* vrc6 */ {0xA000, 0xA002, vrcvi_write}, {0xB000, 0xB002, vrcvi_write}, - {(uint32) - 1, (uint32) - 1, NULL} + {-1, -1, NULL} }; apuext_t vrcvi_ext = { @@ -189,19 +188,8 @@ apuext_t vrcvi_ext = { /* ** $Log$ -** Revision 1.2 2006/10/17 11:04:14 tpm -** Patch by: Josep Torra Valles <josep at fluendo com> -** * gst/nsf/fds_snd.c: -** * gst/nsf/mmc5_snd.c: -** * gst/nsf/nsf.c: -** * gst/nsf/vrc7_snd.c: -** * gst/nsf/vrcvisnd.c: -** Fix some things the Forte compiler warns about (#362626). -** -** Revision 1.1 2006/07/13 15:07:28 wtay -** Based on patches by: Johan Dahlin <johan at gnome dot org> -** Ronald Bultje <rbultje at ronald dot bitfreak dot net> -** * configure.ac: +** Revision 1.3 2008/03/25 15:56:13 slomo +** Patch by: Andreas Henriksson <andreas at fatal dot set> ** * gst/nsf/Makefile.am: ** * gst/nsf/dis6502.h: ** * gst/nsf/fds_snd.c: @@ -209,7 +197,6 @@ apuext_t vrcvi_ext = { ** * gst/nsf/fmopl.c: ** * gst/nsf/fmopl.h: ** * gst/nsf/gstnsf.c: -** * gst/nsf/gstnsf.h: ** * gst/nsf/log.c: ** * gst/nsf/log.h: ** * gst/nsf/memguard.c: @@ -228,7 +215,13 @@ apuext_t vrcvi_ext = { ** * gst/nsf/vrc7_snd.h: ** * gst/nsf/vrcvisnd.c: ** * gst/nsf/vrcvisnd.h: -** Added NSF decoder plugin. Fixes 151192. +** Update our internal nosefart to nosefart-2.7-mls to fix segfaults +** on some files. Fixes bug #498237. +** Remove some // comments, fix some compiler warnings and use pow() +** instead of a slow, selfmade implementation. +** +** Revision 1.1 2003/04/08 20:53:01 ben +** Adding more files... ** ** Revision 1.9 2000/07/04 04:51:41 matt ** cleanups |