summaryrefslogtreecommitdiffstats
path: root/audio/xmms-wma/files/patch-ffmpeg-strip-wma-wmadec.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-wma/files/patch-ffmpeg-strip-wma-wmadec.c')
-rw-r--r--audio/xmms-wma/files/patch-ffmpeg-strip-wma-wmadec.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/xmms-wma/files/patch-ffmpeg-strip-wma-wmadec.c b/audio/xmms-wma/files/patch-ffmpeg-strip-wma-wmadec.c
new file mode 100644
index 0000000..e1f5b17
--- /dev/null
+++ b/audio/xmms-wma/files/patch-ffmpeg-strip-wma-wmadec.c
@@ -0,0 +1,11 @@
+--- ffmpeg-strip-wma/wmadec.c.orig Thu Feb 26 12:26:00 2004
++++ ffmpeg-strip-wma/wmadec.c Thu Feb 26 11:53:40 2004
+@@ -1155,7 +1155,7 @@
+ iptr = s->frame_out[ch];
+
+ for(i=0;i<n;i++) {
+- a = lrintf(*iptr++);
++ a = rintf(*iptr++);
+ if (a > 32767)
+ a = 32767;
+ else if (a < -32768)
OpenPOWER on IntegriCloud