Commit 921d7af6 authored by James Almer's avatar James Almer

avcodec/mpeg4videodec: fix preprocessor check for the nvdec hwaccel

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 1da9851e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment