summaryrefslogtreecommitdiff
path: root/multimedia/x264-devel/files/patch-common-common.h
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2010-02-03 20:14:59 +0000
committerMartin Matuska <mm@FreeBSD.org>2010-02-03 20:14:59 +0000
commitcf91822ab25e517efc24e564ae062f602c8a73d7 (patch)
tree1eea45e6b57df36b4a15b3be623f354e74328268 /multimedia/x264-devel/files/patch-common-common.h
parentUpdate to 0.56. (diff)
- Update to snapshot 20090119
- This is the last snapshot with compatible library ver. 65 - Add patch for log2f(x) support - Take maintainership
Notes
Notes: svn path=/head/; revision=249185
Diffstat (limited to 'multimedia/x264-devel/files/patch-common-common.h')
-rw-r--r--multimedia/x264-devel/files/patch-common-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/multimedia/x264-devel/files/patch-common-common.h b/multimedia/x264-devel/files/patch-common-common.h
new file mode 100644
index 000000000000..14ee0523b5be
--- /dev/null
+++ b/multimedia/x264-devel/files/patch-common-common.h
@@ -0,0 +1,8 @@
+--- common/common.h.orig 2010-02-03 17:25:48.378388768 +0100
++++ common/common.h 2010-02-03 17:26:24.401327942 +0100
+@@ -634,3 +634,5 @@
+
+ #endif
+
++#define M_LOG2_E 0.693147180559945309417
++#define log2f(x) (logf (x) / (float) M_LOG2_E)