openbsd-ports/x11/mplayer/patches/patch-libavcodec_h264_c
jakemsr d11f853ac6 maintenence update to mplayer-1.0rc2
ok biorn@ (MAINTAINER), ajacoutot@, brad@
2008-02-08 17:32:41 +00:00

13 lines
578 B
Plaintext

$OpenBSD: patch-libavcodec_h264_c,v 1.1 2008/02/08 17:32:41 jakemsr Exp $
--- libavcodec/h264.c.orig Mon Jan 21 13:58:41 2008
+++ libavcodec/h264.c Mon Jan 21 14:00:06 2008
@@ -5241,7 +5241,7 @@ static inline int get_cabac_cbf_ctx( H264Context *h, i
return ctx + 4 * cat;
}
-static const attribute_used uint8_t last_coeff_flag_offset_8x8[63] = {
+const attribute_used uint8_t last_coeff_flag_offset_8x8[63] = {
0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,