This file does not itself add a dependency on dsputil.h.

Signed-off-by: Mans Rullgard <[email protected]>
---
 libavcodec/bit_depth_template.c | 2 --
 libavcodec/h264idct_template.c  | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavcodec/bit_depth_template.c b/libavcodec/bit_depth_template.c
index 9071ec2..78e2996 100644
--- a/libavcodec/bit_depth_template.c
+++ b/libavcodec/bit_depth_template.c
@@ -16,8 +16,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "dsputil.h"
-
 #ifndef BIT_DEPTH
 #define BIT_DEPTH 8
 #endif
diff --git a/libavcodec/h264idct_template.c b/libavcodec/h264idct_template.c
index 554483c..5d71025 100644
--- a/libavcodec/h264idct_template.c
+++ b/libavcodec/h264idct_template.c
@@ -27,6 +27,7 @@
 
 #include "bit_depth_template.c"
 #include "libavutil/common.h"
+#include "dsputil.h"
 
 #ifndef AVCODEC_H264IDCT_INTERNAL_H
 #define AVCODEC_H264IDCT_INTERNAL_H
-- 
1.8.0

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to