summaryrefslogtreecommitdiff
path: root/multimedia/libxine/files/patch-src:libffmpeg:libavcodec:msmpeg4.c
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-12-15 17:19:47 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2005-12-15 17:19:47 +0000
commit73e520aabf92a3d1b0a8af079746f2db2c96d03c (patch)
tree87124754b5f9c7e828fc49dd985cf65be208462e /multimedia/libxine/files/patch-src:libffmpeg:libavcodec:msmpeg4.c
parentOnly enable SVG support on 6.X and higher since it's still causing GCC (diff)
Fix build error on 5-stable.
PR: ports/90329 Submitted by: Heino Tiedemann <rotkaps_spam_trap@gmx.de>
Notes
Notes: svn path=/head/; revision=151249
Diffstat (limited to 'multimedia/libxine/files/patch-src:libffmpeg:libavcodec:msmpeg4.c')
-rw-r--r--multimedia/libxine/files/patch-src:libffmpeg:libavcodec:msmpeg4.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/libxine/files/patch-src:libffmpeg:libavcodec:msmpeg4.c b/multimedia/libxine/files/patch-src:libffmpeg:libavcodec:msmpeg4.c
new file mode 100644
index 000000000000..ded87b1c6672
--- /dev/null
+++ b/multimedia/libxine/files/patch-src:libffmpeg:libavcodec:msmpeg4.c
@@ -0,0 +1,20 @@
+--- src/libffmpeg/libavcodec/msmpeg4.c.orig Fri Dec 16 01:17:22 2005
++++ src/libffmpeg/libavcodec/msmpeg4.c Fri Dec 16 01:18:00 2005
+@@ -60,7 +60,7 @@
+ static uint32_t v2_dc_chroma_table[512][2];
+
+ static inline void msmpeg4_encode_block(MpegEncContext * s, DCTELEM * block, int n);
+-static inline int msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
++static int msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
+ int n, int coded, const uint8_t *scantable);
+ static int msmpeg4_decode_dc(MpegEncContext * s, int n, int *dir_ptr);
+ static int msmpeg4_decode_motion(MpegEncContext * s,
+@@ -1659,7 +1659,7 @@
+ return 0;
+ }
+ //#define ERROR_DETAILS
+-static inline int msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
++static int msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
+ int n, int coded, const uint8_t *scan_table)
+ {
+ int level, i, last, run, run_diff;