From 5d95f32bff86bea453e623e7b241b3c5455af896 Mon Sep 17 00:00:00 2001 From: James Almer Date: Mon, 27 Jul 2015 21:09:53 -0300 Subject: [PATCH] avocdec/mpeg12dec: fix mpeg_xvmc hwaccel flag The flag is deprecated and as such didn't get a new AV_ prefixed version Signed-off-by: James Almer --- libavcodec/mpeg12dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c index 363ce61955..73ebdfa88b 100644 --- a/libavcodec/mpeg12dec.c +++ b/libavcodec/mpeg12dec.c @@ -2917,7 +2917,7 @@ AVCodec ff_mpeg_xvmc_decoder = { .close = mpeg_decode_end, .decode = mpeg_decode_frame, .capabilities = AV_CODEC_CAP_DRAW_HORIZ_BAND | AV_CODEC_CAP_DR1 | - AV_CODEC_CAP_TRUNCATED | AV_CODEC_CAP_HWACCEL | + AV_CODEC_CAP_TRUNCATED | CODEC_CAP_HWACCEL | AV_CODEC_CAP_DELAY, .flush = flush, };