[FFmpeg-cvslog] avcodec/mpeg4videodec: fix preprocessor check for the nvdec hwaccel
James Almer
git at videolan.org
Mon Nov 27 03:26:06 EET 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Nov 26 22:19:45 2017 -0300| [921d7af6e9e65fabade00e35a7d40a6b80b0a58b] | committer: James Almer
avcodec/mpeg4videodec: fix preprocessor check for the nvdec hwaccel
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=921d7af6e9e65fabade00e35a7d40a6b80b0a58b
---
libavcodec/mpeg4videodec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index 19fcc1bc8f..cdd7077f01 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -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
More information about the ffmpeg-cvslog
mailing list