1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-22 04:04:14 +02:00

avcodec/mpeg12dec: fix preprocessor check for mpeg1_nvdec hwaccel

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2018-01-21 22:57:41 -03:00
parent bda5ad305e
commit 388a0f7869

View File

@ -2893,7 +2893,7 @@ AVCodec ff_mpeg1video_decoder = {
.max_lowres = 3,
.update_thread_context = ONLY_IF_THREADS_ENABLED(mpeg_decode_update_thread_context),
.hw_configs = (const AVCodecHWConfigInternal*[]) {
#if CONFIG_MPEG2_NVDEC_HWACCEL
#if CONFIG_MPEG1_NVDEC_HWACCEL
HWACCEL_NVDEC(mpeg1),
#endif
#if CONFIG_MPEG1_VDPAU_HWACCEL