[FFmpeg-cvslog] avcodec/mpeg12dec: fix preprocessor check for mpeg1_nvdec hwaccel

James Almer git at videolan.org
Mon Jan 22 03:58:15 EET 2018


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Jan 21 22:57:41 2018 -0300| [388a0f7869a852dec51482dc1802239f792775db] | committer: James Almer

avcodec/mpeg12dec: fix preprocessor check for mpeg1_nvdec hwaccel

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=388a0f7869a852dec51482dc1802239f792775db
---

 libavcodec/mpeg12dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index ac5ac4bca4..f5f2c696c0 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -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



More information about the ffmpeg-cvslog mailing list