summaryrefslogtreecommitdiff
path: root/multimedia/mplayer/files/patch-libavcodec-h264.c
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-01-08 16:02:14 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-01-08 16:02:14 +0000
commit015180ee46361d232a7c1ca84364bd993f1e5638 (patch)
tree4b3bcfbd15ddec7ecd12dfce93b02819e078af68 /multimedia/mplayer/files/patch-libavcodec-h264.c
parentAdd missing DISTFILES entry for Java. (diff)
- fix build of mplayer with h264 and polyaudio, when an external reference was
generated to: last_coeff_flag_offset in the polyaudio module, that is static in the h264. - security fix provided by the mplayer development team for a possible remote buffer overflow in rtsp streams - Correct library dependence and OPTIONS for samba support PR: ports/107217 Submitted by: Sergio Lenzi [1], Thomas E. Zander (maintainer) [2] Approved by: maintainer Security: http://www.vuxml.org/freebsd/b2ff68b2-9f29-11db-a4e4-0211d87675b7.hml
Diffstat (limited to '')
-rw-r--r--multimedia/mplayer/files/patch-libavcodec-h264.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/mplayer/files/patch-libavcodec-h264.c b/multimedia/mplayer/files/patch-libavcodec-h264.c
new file mode 100644
index 000000000000..371bf01eaef8
--- /dev/null
+++ b/multimedia/mplayer/files/patch-libavcodec-h264.c
@@ -0,0 +1,11 @@
+--- libavcodec/h264.c.orig Thu Dec 21 14:57:54 2006
++++ libavcodec/h264.c Thu Dec 21 15:00:14 2006
+@@ -6034,7 +6034,7 @@
+ 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,