mirror of https://github.com/mpv-player/mpv
fmt-conversion: guard ffmpeg-only pixel format
This should fix compilation with libav.
This commit is contained in:
parent
a42aae3bf8
commit
e5f96e9845
|
@ -101,7 +101,10 @@ static const struct {
|
|||
{IMGFMT_444P, PIX_FMT_YUVJ444P},
|
||||
{IMGFMT_440P, PIX_FMT_YUVJ440P},
|
||||
|
||||
// ffmpeg only
|
||||
#if LIBAVUTIL_VERSION_MICRO >= 100
|
||||
{IMGFMT_BGR0, PIX_FMT_BGR0},
|
||||
#endif
|
||||
|
||||
{IMGFMT_VDPAU_MPEG1, PIX_FMT_VDPAU_MPEG1},
|
||||
{IMGFMT_VDPAU_MPEG2, PIX_FMT_VDPAU_MPEG2},
|
||||
|
|
Loading…
Reference in New Issue