[FFmpeg-cvslog] Bump major version for b8e893399ff8755721dc117695ec5ff183c1e07b

Reinhard Tartler git at videolan.org
Tue Jun 21 03:45:19 CEST 2011


ffmpeg | branch: master | Reinhard Tartler <siretart at tauware.de> | Mon Jun 20 12:20:54 2011 +0200| [07935318598722e6ffe0f9980010a96f076d7152] | committer: Reinhard Tartler

Bump major version for b8e893399ff8755721dc117695ec5ff183c1e07b

On architectures such as x86 (both 32 bit and 64bit), the stack element
size is fixed, which maintains alignment.  Here, this change does not
break anything. However, we also support also other architectures where
this property is not maintained and therefore, applications will crash
horribly.

This change effectively forces all applications to be recompiled against
libswscale.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=07935318598722e6ffe0f9980010a96f076d7152
---

 libswscale/swscale.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index b0ad912..2aa5e50 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -29,8 +29,8 @@
 
 #include "libavutil/avutil.h"
 
-#define LIBSWSCALE_VERSION_MAJOR 1
-#define LIBSWSCALE_VERSION_MINOR 1
+#define LIBSWSCALE_VERSION_MAJOR 2
+#define LIBSWSCALE_VERSION_MINOR 0
 #define LIBSWSCALE_VERSION_MICRO 0
 
 #define LIBSWSCALE_VERSION_INT  AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
@@ -48,10 +48,10 @@
  * They may change, break or disappear at any time.
  */
 #ifndef FF_API_SWS_GETCONTEXT
-#define FF_API_SWS_GETCONTEXT  (LIBSWSCALE_VERSION_MAJOR < 2)
+#define FF_API_SWS_GETCONTEXT  (LIBSWSCALE_VERSION_MAJOR < 3)
 #endif
 #ifndef FF_API_SWS_CPU_CAPS
-#define FF_API_SWS_CPU_CAPS    (LIBSWSCALE_VERSION_MAJOR < 2)
+#define FF_API_SWS_CPU_CAPS    (LIBSWSCALE_VERSION_MAJOR < 3)
 #endif
 
 /**



More information about the ffmpeg-cvslog mailing list