avutil/hwcontext_vdpau: Correctly initialise pixfmts
authorPhilip Langdale <philipl@overt.org>
Sun, 12 Jul 2020 03:23:03 +0000 (20:23 -0700)
committerPhilip Langdale <philipl@overt.org>
Sun, 12 Jul 2020 15:33:40 +0000 (08:33 -0700)
commit93febc4e15f78277f8532597c76c8092e65af71f
treeb1618f31ee22e1fadec1793bba60c23a9d6dce50
parent2dabee7c0faef202ed04e20856e9f58cb4415810
avutil/hwcontext_vdpau: Correctly initialise pixfmts

The number of declared vdpau formats can vary depending on which
version of libvdpau we build against, so the number of pix fmts
can vary too. Let's make sure we keep those numbers in sync.
libavutil/hwcontext_vdpau.c