summaryrefslogtreecommitdiffstats
path: root/video/fmt-conversion.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-10 18:59:59 +0100
committerwm4 <wm4@nowhere>2020-02-10 18:59:59 +0100
commitd699893dbda3213198d75c6d19cf401c53af3f1e (patch)
treefd79f47765e9a7597885be77e0a6b2aa36ad41a2 /video/fmt-conversion.c
parenta8404ed0a0b79da9b91d57e4b671eaeaed9f936e (diff)
downloadmpv-d699893dbda3213198d75c6d19cf401c53af3f1e.tar.bz2
mpv-d699893dbda3213198d75c6d19cf401c53af3f1e.tar.xz
img_format: add alias for ffmpeg pal8 format
For the next commit.
Diffstat (limited to 'video/fmt-conversion.c')
-rw-r--r--video/fmt-conversion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/fmt-conversion.c b/video/fmt-conversion.c
index b9b3d5ef66..9f3c6380ff 100644
--- a/video/fmt-conversion.c
+++ b/video/fmt-conversion.c
@@ -33,6 +33,7 @@ static const struct {
{IMGFMT_ABGR, AV_PIX_FMT_ABGR},
{IMGFMT_RGBA, AV_PIX_FMT_RGBA},
{IMGFMT_RGB24, AV_PIX_FMT_RGB24},
+ {IMGFMT_PAL8, AV_PIX_FMT_PAL8},
{IMGFMT_UYVY, AV_PIX_FMT_UYVY422},
{IMGFMT_NV12, AV_PIX_FMT_NV12},
#if LIBAVUTIL_VERSION_MICRO >= 100 && LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(56, 27, 0)