avcodec/mpeg4videodec: fix preprocessor check for the nvdec hwaccel
authorJames Almer <jamrial@gmail.com>
Mon, 27 Nov 2017 01:19:45 +0000 (22:19 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 27 Nov 2017 01:21:20 +0000 (22:21 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/mpeg4videodec.c

index 19fcc1b..cdd7077 100644 (file)
@@ -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