]> git.pld-linux.org Git - packages/ac3dec.git/commitdiff
- fixed ANSI C incompatibility
authorhavner <havner@pld-linux.org>
Tue, 10 Aug 2004 18:47:40 +0000 (18:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ac3dec-fixbuild.patch -> 1.1

ac3dec-fixbuild.patch [new file with mode: 0644]

diff --git a/ac3dec-fixbuild.patch b/ac3dec-fixbuild.patch
new file mode 100644 (file)
index 0000000..3a29368
--- /dev/null
@@ -0,0 +1,13 @@
+diff -ur ac3dec-0.6.1.orig/libac3/bitstream.c ac3dec-0.6.1/libac3/bitstream.c
+--- ac3dec-0.6.1.orig/libac3/bitstream.c       2000-03-30 02:51:24.000000000 +0200
++++ ac3dec-0.6.1/libac3/bitstream.c    2004-08-10 20:45:16.000000000 +0200
+@@ -90,7 +91,8 @@
+ static inline void
+ bitstream_fill_current()
+ {
+-      current_word = *((uint_32*)buffer_start)++;
++      uint_32* temp=(uint_32*)buffer_start;
++      current_word = *(temp)++;
+       current_word = swab32(current_word);
+ }
This page took 0.096706 seconds and 4 git commands to generate.