From 921d7af6e9e65fabade00e35a7d40a6b80b0a58b Mon Sep 17 00:00:00 2001 From: James Almer Date: Sun, 26 Nov 2017 22:19:45 -0300 Subject: [PATCH] avcodec/mpeg4videodec: fix preprocessor check for the nvdec hwaccel Signed-off-by: James Almer --- libavcodec/mpeg4videodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index 19fcc1bc8f..cdd7077f01 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -2857,7 +2857,7 @@ AVCodec ff_mpeg4_decoder = { .update_thread_context = ONLY_IF_THREADS_ENABLED(mpeg4_update_thread_context), .priv_class = &mpeg4_class, .hw_configs = (const AVCodecHWConfigInternal*[]) { -#if CONFIG_MPEG2_NVDEC_HWACCEL +#if CONFIG_MPEG4_NVDEC_HWACCEL HWACCEL_NVDEC(mpeg4), #endif #if CONFIG_MPEG4_VAAPI_HWACCEL