summaryrefslogtreecommitdiff
path: root/multimedia/mplayer-share/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mplayer-share/patches/patch-ag')
-rw-r--r--multimedia/mplayer-share/patches/patch-ag16
1 files changed, 0 insertions, 16 deletions
diff --git a/multimedia/mplayer-share/patches/patch-ag b/multimedia/mplayer-share/patches/patch-ag
deleted file mode 100644
index a5c11769c9c..00000000000
--- a/multimedia/mplayer-share/patches/patch-ag
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2005/08/27 06:59:52 dogcow Exp $
-
---- libmpcodecs/ad_pcm.c 2005/07/28 13:43:24 1.18
-+++ libmpcodecs/ad_pcm.c 2005/08/25 19:46:20 1.19
-@@ -98,8 +98,8 @@
-
- static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int maxlen)
- {
-- int len=sh_audio->channels*sh_audio->samplesize-1;
-- len=(minlen+len)&(~len); // sample align
-+ unsigned len = sh_audio->channels*sh_audio->samplesize;
-+ len = maxlen - maxlen % len; // sample align
- len=demux_read_data(sh_audio->ds,buf,len);
- return len;
- }
-