[FFmpeg-devel] [PATCH] dnn_interface.h: fix redefining typedefs

Guo, Yejun yejun.guo at intel.com
Thu Dec 31 03:27:27 EET 2020


Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
---
will push soon
 libavfilter/dnn_interface.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/dnn_interface.h b/libavfilter/dnn_interface.h
index 1e2842425a..9533c88829 100644
--- a/libavfilter/dnn_interface.h
+++ b/libavfilter/dnn_interface.h
@@ -28,7 +28,7 @@
 
 #include <stdint.h>
 #include "libavutil/frame.h"
-typedef struct AVFilterContext AVFilterContext;
+#include "avfilter.h"
 
 typedef enum {DNN_SUCCESS, DNN_ERROR} DNNReturnType;
 
-- 
2.17.1



More information about the ffmpeg-devel mailing list