Commit f8217daa authored by Andrew Euell's avatar Andrew Euell Committed by Michael Niedermayer

vda_h264: fix for VDA compile

the VDA code needs to be updated to use the CHROMA(h) macros
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4aa85033
......@@ -149,7 +149,7 @@ static av_cold int check_format(AVCodecContext *avctx)
h = parser->priv_data;
switch (h->sps.bit_depth_luma) {
case 8:
if (!CHROMA444 && !CHROMA422) {
if (!CHROMA444(h) && !CHROMA422(h)) {
// only this will H.264 decoder switch to hwaccel
ret = 0;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment