mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
vda_h264: fix for VDA compile
the VDA code needs to be updated to use the CHROMA(h) macros Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4aa8503399
commit
f8217daa8e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user