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:
parent
257dbdf06f
commit
f24612db44
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user