fmt-conversion: guard ffmpeg-only pixel format

This should fix compilation with libav.
This commit is contained in:
wm4 2012-10-30 19:32:30 +01:00
parent a42aae3bf8
commit e5f96e9845
1 changed files with 3 additions and 0 deletions

View File

@ -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},