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

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


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

swscale: fix compilation if avcodec and avformat are disabled

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0b9f0d211699248112818b50e5b68d22c996cf3f
---

 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 2f262a7..1373487 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