Browse Source

avcodec/mpeg4videodec: fix preprocessor check for the nvdec hwaccel

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n4.0
James Almer 8 years ago
parent
commit
921d7af6e9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpeg4videodec.c

+ 1
- 1
libavcodec/mpeg4videodec.c View File

@@ -2857,7 +2857,7 @@ AVCodec ff_mpeg4_decoder = {
.update_thread_context = ONLY_IF_THREADS_ENABLED(mpeg4_update_thread_context), .update_thread_context = ONLY_IF_THREADS_ENABLED(mpeg4_update_thread_context),
.priv_class = &mpeg4_class, .priv_class = &mpeg4_class,
.hw_configs = (const AVCodecHWConfigInternal*[]) { .hw_configs = (const AVCodecHWConfigInternal*[]) {
#if CONFIG_MPEG2_NVDEC_HWACCEL
#if CONFIG_MPEG4_NVDEC_HWACCEL
HWACCEL_NVDEC(mpeg4), HWACCEL_NVDEC(mpeg4),
#endif #endif
#if CONFIG_MPEG4_VAAPI_HWACCEL #if CONFIG_MPEG4_VAAPI_HWACCEL


Loading…
Cancel
Save