1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 19:52:14 +00:00

img_format: #if -> #ifdef

Oops.
This commit is contained in:
wm4 2017-08-16 11:15:52 +02:00
parent 257dbdf06f
commit f24612db44

View File

@ -438,7 +438,7 @@ bool mp_get_regular_imgfmt(struct mp_regular_imgfmt *dst, int imgfmt)
res.chroma_w = 1 << pixdesc->log2_chroma_w;
res.chroma_h = 1 << pixdesc->log2_chroma_h;
#if AV_PIX_FMT_FLAG_BAYER
#ifdef AV_PIX_FMT_FLAG_BAYER
if (pixdesc->flags & AV_PIX_FMT_FLAG_BAYER)
return false; // it's satan himself
#else