zimg: fix build with older FFmpeg (troublesome Intel dude format)

This commit is contained in:
wm4
2020-04-14 00:01:46 +02:00
parent 7832204c99
commit 0d792857c5

View File

@@ -636,8 +636,10 @@ static const struct fringe_yuv422_repacker fringe_yuv422_repackers[] = {
{AV_PIX_FMT_YUYV422, 8, {0, 2, 3, 1}},
{AV_PIX_FMT_UYVY422, 8, {1, 3, 2, 0}},
{AV_PIX_FMT_YVYU422, 8, {0, 2, 1, 3}},
#ifdef AV_PIX_FMT_Y210
{AV_PIX_FMT_Y210LE, 10, {0, 2, 1, 3}},
{AV_PIX_FMT_Y210BE, 10, {0, 2, 1, 3}, .be = true},
#endif
};
#define PA_P422(name, comp_t) \