public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/libav/files: 0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch
@ 2012-12-20 16:59 Luca Barbato (lu_zero)
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Barbato (lu_zero) @ 2012-12-20 16:59 UTC (permalink / raw
  To: gentoo-commits

lu_zero     12/12/20 16:59:09

  Added:               
                        0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch
  Log:
  Backport upstream fix
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 1191738E)

Revision  Changes    Path
1.1                  media-video/libav/files/0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/libav/files/0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/libav/files/0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch?rev=1.1&content-type=text/plain

Index: 0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch
===================================================================
From 8f5587c3d0bc4b5f075e4282215bda91a21fc12e Mon Sep 17 00:00:00 2001
From: Janne Grunau <janne-libav@jannau.net>
Date: Fri, 16 Nov 2012 14:55:08 +0100
Subject: [PATCH] cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52

---
 libavutil/cpu.h     | 2 +-
 libavutil/version.h | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/libavutil/cpu.h b/libavutil/cpu.h
index 01f7201..4929512 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -28,7 +28,7 @@
     /* lower 16 bits - CPU features */
 #define AV_CPU_FLAG_MMX          0x0001 ///< standard MMX
 #define AV_CPU_FLAG_MMXEXT       0x0002 ///< SSE integer functions or AMD MMX ext
-#if LIBAVUTIL_VERSION_MAJOR < 52
+#if FF_API_CPU_FLAG_MMX2
 #define AV_CPU_FLAG_MMX2         0x0002 ///< SSE integer functions or AMD MMX ext
 #endif
 #define AV_CPU_FLAG_3DNOW        0x0004 ///< AMD 3DNOW
diff --git a/libavutil/version.h b/libavutil/version.h
index 6f79eeb..f69c73e 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -76,6 +76,9 @@
 #ifndef FF_API_AUDIOCONVERT
 #define FF_API_AUDIOCONVERT             (LIBAVUTIL_VERSION_MAJOR < 53)
 #endif
+#ifndef FF_API_CPU_FLAG_MMX2
+#define FF_API_CPU_FLAG_MMX2            (LIBAVUTIL_VERSION_MAJOR < 53)
+#endif
 
 /**
  * @}
-- 
1.7.12






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-video/libav/files: 0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch
@ 2013-01-01 10:40 Tomas Chvatal (scarabeus)
  0 siblings, 0 replies; 2+ messages in thread
From: Tomas Chvatal (scarabeus) @ 2013-01-01 10:40 UTC (permalink / raw
  To: gentoo-commits

scarabeus    13/01/01 10:40:07

  Removed:             
                        0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch
  Log:
  Trim down amount of versions.
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-01 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-01 10:40 [gentoo-commits] gentoo-x86 commit in media-video/libav/files: 0001-cpu.h-define-AV_CPU_FLAG_MMX2-for-libavutil-major-52.patch Tomas Chvatal (scarabeus)
  -- strict thread matches above, loose matches on Subject: below --
2012-12-20 16:59 Luca Barbato (lu_zero)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox