diff options
author | wm4 <wm4@nowhere> | 2016-12-07 19:44:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-12-07 19:53:11 +0100 |
commit | 3eceac2eab0b42ee082a0b615ebf40a21f0fb915 (patch) | |
tree | a7f719897b49f44006d44a1efcdab3b8d203aad8 /video/fmt-conversion.c | |
parent | a660e15c9b96bd46209e78b3c3d4cf136a039a50 (diff) | |
download | mpv-3eceac2eab0b42ee082a0b615ebf40a21f0fb915.tar.bz2 mpv-3eceac2eab0b42ee082a0b615ebf40a21f0fb915.tar.xz |
Remove compatibility things
Possible with bumped FFmpeg/Libav.
These are just the simple cases.
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r-- | video/fmt-conversion.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c index 8b991c5d19..7a9e2088f8 100644 --- a/video/fmt-conversion.c +++ b/video/fmt-conversion.c @@ -73,10 +73,8 @@ static const struct { {IMGFMT_XYZ12, AV_PIX_FMT_XYZ12}, -#ifdef AV_PIX_FMT_RGBA64 {IMGFMT_RGBA64, AV_PIX_FMT_RGBA64}, {IMGFMT_BGRA64, AV_PIX_FMT_BGRA64}, -#endif #if LIBAVUTIL_VERSION_MICRO >= 100 {IMGFMT_BGR0, AV_PIX_FMT_BGR0}, @@ -90,9 +88,7 @@ static const struct { {IMGFMT_0BGR, AV_PIX_FMT_ABGR}, #endif -#ifdef AV_PIX_FMT_YA16 {IMGFMT_YA16, AV_PIX_FMT_YA16}, -#endif {IMGFMT_VDPAU, AV_PIX_FMT_VDPAU}, #if HAVE_VIDEOTOOLBOX_HWACCEL @@ -103,15 +99,11 @@ static const struct { #if HAVE_D3D_HWACCEL {IMGFMT_D3D11VA, AV_PIX_FMT_D3D11VA_VLD}, #endif -#if HAVE_AV_PIX_FMT_MMAL {IMGFMT_MMAL, AV_PIX_FMT_MMAL}, -#endif #if HAVE_CUDA_HWACCEL {IMGFMT_CUDA, AV_PIX_FMT_CUDA}, #endif -#ifdef AV_PIX_FMT_P010 {IMGFMT_P010, AV_PIX_FMT_P010}, -#endif #ifdef AV_PIX_FMT_P016 {IMGFMT_P016, AV_PIX_FMT_P016}, #endif |