[vlc-commits] swscale: fix compilation if avcodec and avformat are disabled

Felix Paul Kühne git at videolan.org
Mon Oct 27 20:14:17 CET 2014


vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Oct 27 12:09:56 2014 -0700| [838054b7550d074494300ebd9b7bc7781edc05dd] | committer: Felix Paul Kühne

swscale: fix compilation if avcodec and avformat are disabled

(cherry picked from commit 0b9f0d211699248112818b50e5b68d22c996cf3f)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=838054b7550d074494300ebd9b7bc7781edc05dd
---

 modules/codec/avcodec/avcommon.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/codec/avcodec/avcommon.h b/modules/codec/avcodec/avcommon.h
index 8c47330..411ddac 100644
--- a/modules/codec/avcodec/avcommon.h
+++ b/modules/codec/avcodec/avcommon.h
@@ -39,6 +39,7 @@
 #ifdef HAVE_LIBAVUTIL_AVUTIL_H
 # include <libavutil/avutil.h>
 # include <libavutil/dict.h>
+# include <libavutil/cpu.h>
 # include <libavutil/log.h>
 
 #define AV_OPTIONS_TEXT     "Advanced options"



More information about the vlc-commits mailing list