diff options
author | wm4 <wm4@nowhere> | 2018-04-03 18:01:07 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-04-03 20:08:15 +0300 |
commit | c338c0d90a78d1b93bd3361b464cfd562223fb9d (patch) | |
tree | 0005a8a39f5b93570d142226048d21f391d92ae5 /video/img_format.c | |
parent | e3e2c794efcff035615ac93f8a4cd9ab2cef4d97 (diff) | |
download | mpv-c338c0d90a78d1b93bd3361b464cfd562223fb9d.tar.bz2 mpv-c338c0d90a78d1b93bd3361b464cfd562223fb9d.tar.xz |
video: remove libavutil PSEUDOPAL stuff
Not needed anymore with newest libavutil.
Diffstat (limited to 'video/img_format.c')
-rw-r--r-- | video/img_format.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/video/img_format.c b/video/img_format.c index 42c5c9f5ca..f7790aa290 100644 --- a/video/img_format.c +++ b/video/img_format.c @@ -212,9 +212,7 @@ struct mp_imgfmt_desc mp_imgfmt_get_desc(int mpfmt) desc.bytes[p] = desc.bpp[p] / 8; } - // PSEUDOPAL is a complete braindeath nightmare, however it seems various - // parts of FFmpeg expect that it has a palette allocated. - if (pd->flags & (AV_PIX_FMT_FLAG_PAL | AV_PIX_FMT_FLAG_PSEUDOPAL)) + if (pd->flags & AV_PIX_FMT_FLAG_PAL) desc.flags |= MP_IMGFLAG_PAL; if ((desc.flags & (MP_IMGFLAG_YUV | MP_IMGFLAG_RGB)) |