diff options
Diffstat (limited to 'main/audacious-plugins/audacious-plugins-2.5.1-vorbis.patch')
-rw-r--r-- | main/audacious-plugins/audacious-plugins-2.5.1-vorbis.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/main/audacious-plugins/audacious-plugins-2.5.1-vorbis.patch b/main/audacious-plugins/audacious-plugins-2.5.1-vorbis.patch deleted file mode 100644 index 0e35adff3d..0000000000 --- a/main/audacious-plugins/audacious-plugins-2.5.1-vorbis.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 6ed2a39924b29f185e5a87bd8dccffaa0f1011ca Mon Sep 17 00:00:00 2001 -From: John Lindgren <john.lindgren@tds.net> -Date: Wed, 08 Jun 2011 18:49:57 +0000 -Subject: vorbis: Patch from Michael Schwendt to fix crash on 32-bit systems. Closes: AUDPLUG-369. - ---- -diff --git a/src/vorbis/vcedit.c b/src/vorbis/vcedit.c -index 9dd6c01..dc14d2f 100644 ---- a/src/vorbis/vcedit.c -+++ b/src/vorbis/vcedit.c -@@ -145,7 +145,7 @@ _fetch_next_packet(vcedit_state * s, ogg_packet * p, ogg_page * page) - { - int result; - char *buffer; -- int bytes; -+ gint64 bytes; - - result = ogg_stream_packetout(s->os, p); - -@@ -189,7 +189,7 @@ vcedit_open_callbacks(vcedit_state * state, void *in, - vcedit_write_func write_func) - { - char *buffer; -- int bytes, i; -+ gint64 bytes, i; - ogg_packet *header; - ogg_packet header_main; - ogg_packet header_comments; -@@ -317,7 +317,7 @@ vcedit_write(vcedit_state * state, void *out) - ogg_int64_t granpos = 0; - int result; - char *buffer; -- int bytes; -+ gint64 bytes; - int needflush = 0, needout = 0; - - state->eosin = 0; -diff --git a/src/vorbis/vcedit.h b/src/vorbis/vcedit.h -index 983a2ee..ea4432f 100644 ---- a/src/vorbis/vcedit.h -+++ b/src/vorbis/vcedit.h -@@ -19,8 +19,8 @@ extern "C" { - #include <vorbis/codec.h> - #include <audacious/plugin.h> - --typedef size_t (*vcedit_read_func)(void *, size_t, size_t, void *); --typedef size_t (*vcedit_write_func)(const void *, size_t, size_t, void *); -+typedef gint64 (*vcedit_read_func)(void *, gint64, gint64, void *); -+typedef gint64 (*vcedit_write_func)(const void *, gint64, gint64, void *); - - typedef struct { - ogg_sync_state *oy; --- -cgit v0.8.3.4 |