Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 596fbf9270162dd720cef8d3942bdbb0 > files > 11

chromium-browser-stable-45.0.2454.101-1.mga5.src.rpm

Description: Don't change the FFmpeg ABI in chromium ...
 ... because it breaks ABI compatibility with the system FFmpeg.

Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Last-Update: <2014-10-01>

--- src/media/ffmpeg/ffmpeg_common.h.disable_ffmpeg_api_change
+++ src/media/ffmpeg/ffmpeg_common.h
@@ -19,13 +19,6 @@
 
 // Include FFmpeg header files.
 extern "C" {
-// Disable deprecated features which result in spammy compile warnings.  This
-// list of defines must mirror those in the 'defines' section of the ffmpeg.gyp
-// file or the headers below will generate different structures.
-#define FF_API_PIX_FMT_DESC 0
-#define FF_API_OLD_DECODE_AUDIO 0
-#define FF_API_DESTRUCT_PACKET 0
-#define FF_API_GET_BUFFER 0
 
 // Temporarily disable possible loss of data warning.
 // TODO(scherkus): fix and upstream the compiler warnings.
--- src/third_party/ffmpeg/ffmpeg.gyp.disable_ffmpeg_api_change	2014-10-18 21:25:23.472947118 +0200
+++ src/third_party/ffmpeg/ffmpeg.gyp	2014-10-18 21:26:25.599758431 +0200
@@ -165,11 +165,6 @@
             '_POSIX_C_SOURCE=200112',
             '_XOPEN_SOURCE=600',
             'PIC',
-            # Disable deprecated features which generate spammy warnings.
-            'FF_API_PIX_FMT_DESC=0',
-            'FF_API_OLD_DECODE_AUDIO=0',
-            'FF_API_DESTRUCT_PACKET=0',
-            'FF_API_GET_BUFFER=0',
           ],
           'variables': {
             'clang_warning_flags': [