From 64c01a814c8f7cf4a780b89fe00ed608b1f93e2b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 16 Mar 2014 10:04:46 +0100 Subject: Remove some more unneeded version checks All of these check against things that happened before the latest supported FFmpeg/Libav release. --- compat/libav.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'compat') diff --git a/compat/libav.h b/compat/libav.h index 56876c1336..ba5250b5f3 100644 --- a/compat/libav.h +++ b/compat/libav.h @@ -28,16 +28,4 @@ #define AV_CPU_FLAG_MMX2 AV_CPU_FLAG_MMXEXT #endif -// At least Libav 9 doesn't define the new symbols -#ifndef AV_PIX_FMT_FLAG_BE -#define AV_PIX_FMT_FLAG_BE PIX_FMT_BE -#define AV_PIX_FMT_FLAG_PAL PIX_FMT_PAL -#define AV_PIX_FMT_FLAG_BITSTREAM PIX_FMT_BITSTREAM -#define AV_PIX_FMT_FLAG_HWACCEL PIX_FMT_HWACCEL -#define AV_PIX_FMT_FLAG_PLANAR PIX_FMT_PLANAR -#define AV_PIX_FMT_FLAG_RGB PIX_FMT_RGB -#define AV_PIX_FMT_FLAG_PSEUDOPAL PIX_FMT_PSEUDOPAL -#define AV_PIX_FMT_FLAG_ALPHA PIX_FMT_ALPHA -#endif - #endif /* MPV_LIBAV_COMPAT_H */ -- cgit v1.2.3