diff options
author | Andrew Euell <andyzweb@gmail.com> | 2013-03-21 14:16:44 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-21 19:56:19 +0100 |
commit | f8217daa8e771641e4dc567f89584126874dd9db (patch) | |
tree | fe9bdc4331b754ef238d4a3f897cf2379b4c8537 | |
parent | 4aa8503399d4fc4ad0bc90ca3c5977a0c1c511bf (diff) | |
download | ffmpeg-f8217daa8e771641e4dc567f89584126874dd9db.tar.gz |
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>
-rw-r--r-- | libavcodec/vda_h264_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vda_h264_dec.c b/libavcodec/vda_h264_dec.c index d6c8f379bd..1bee92baf9 100644 --- a/libavcodec/vda_h264_dec.c +++ b/libavcodec/vda_h264_dec.c @@ -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; |