Browse Source

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>
tags/n2.0
Andrew Euell Michael Niedermayer 13 years ago
parent
commit
f8217daa8e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/vda_h264_dec.c

+ 1
- 1
libavcodec/vda_h264_dec.c View File

@@ -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…
Cancel
Save