Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Euell <andyzweb@gmail.com>2013-03-21 22:16:44 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-03-21 22:56:19 +0400
commitf8217daa8e771641e4dc567f89584126874dd9db (patch)
treefe9bdc4331b754ef238d4a3f897cf2379b4c8537 /libavcodec/vda_h264_dec.c
parent4aa8503399d4fc4ad0bc90ca3c5977a0c1c511bf (diff)
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>
Diffstat (limited to 'libavcodec/vda_h264_dec.c')
-rw-r--r--libavcodec/vda_h264_dec.c2
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;