summaryrefslogtreecommitdiffstats
path: root/compat/libav.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-16 10:04:46 +0100
committerwm4 <wm4@nowhere>2014-03-16 13:19:28 +0100
commit64c01a814c8f7cf4a780b89fe00ed608b1f93e2b (patch)
tree00d3a7f8b6110cdc60da2bebb99f76de46696b95 /compat/libav.h
parent5506c8d0f6450133d33e940fcdeaecc25564092a (diff)
downloadmpv-64c01a814c8f7cf4a780b89fe00ed608b1f93e2b.tar.bz2
mpv-64c01a814c8f7cf4a780b89fe00ed608b1f93e2b.tar.xz
Remove some more unneeded version checks
All of these check against things that happened before the latest supported FFmpeg/Libav release.
Diffstat (limited to 'compat/libav.h')
-rw-r--r--compat/libav.h12
1 files changed, 0 insertions, 12 deletions
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 */