diff options
Diffstat (limited to 'devel/smpeg/patches/patch-aa')
-rw-r--r-- | devel/smpeg/patches/patch-aa | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/devel/smpeg/patches/patch-aa b/devel/smpeg/patches/patch-aa deleted file mode 100644 index c0b779a9b7a..00000000000 --- a/devel/smpeg/patches/patch-aa +++ /dev/null @@ -1,26 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2003/07/28 09:52:31 jmmv Exp $ - ---- plaympeg.c.orig Tue Feb 4 15:59:22 2003 -+++ plaympeg.c Tue Feb 4 15:59:48 2003 -@@ -492,6 +492,7 @@ - int fd; - char buf[32]; - int status; -+ int (*audio_init)(); - - /* Get the command line options */ - use_audio = 1; -@@ -600,7 +601,12 @@ - } - - if ( use_audio ) { -- if ((SDL_Init(SDL_INIT_AUDIO) < 0) || !SDL_AudioDriverName(buf, 1)) { -+ if ( use_video ) -+ audio_init = SDL_InitSubSystem; -+ else -+ audio_init = SDL_Init; -+ -+ if ((audio_init(SDL_INIT_AUDIO) < 0) || !SDL_AudioDriverName(buf, 1)) { - fprintf(stderr, "Warning: Couldn't init SDL audio: %s\n", - SDL_GetError()); - fprintf(stderr, "Will ignore audio stream\n"); |