freebsd-ports/multimedia/libxine/files/patch-src:libffmpeg:libavcodec:msmpeg4.c
MANTANI Nobutaka e09eea6bf2 - Fix build error with CFLAGS="-O -pipe". [1]
- Remove message about obsolete WITH_THERORA knob. [2]

PR:		ports/101051 [1]
Submitted by:	Bo Briggs <rcbdyndns@bellsouth.net> [1]
Reported by:	Randy Pratt <bsd-unix@earthlink.net> [1], bland [1] [2]
2006-08-01 17:18:59 +00:00

20 lines
991 B
C

--- src/libffmpeg/libavcodec/msmpeg4.c.orig Sun Jul 9 23:38:34 2006
+++ src/libffmpeg/libavcodec/msmpeg4.c Wed Aug 2 01:27:48 2006
@@ -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 __inline 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 __inline int msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
int n, int coded, const uint8_t *scan_table)
{
int level, i, last, run, run_diff;