[MPlayer-dev-eng] [PATCH] Use public header libavutil/mem.h instead of an internal one

Ingo Brückl ib at wupperonline.de
Thu Jan 28 12:35:58 EET 2021


This fixes broken shared FFmpeg compilation since r38235.

Index: libmpcodecs/vf_ow.c
===================================================================
--- libmpcodecs/vf_ow.c	(revision 38245)
+++ libmpcodecs/vf_ow.c	(working copy)
@@ -32,7 +32,7 @@
 #include <inttypes.h>
 #include <math.h>
 
-#include "libavutil/mem_internal.h"
+#include "libavutil/mem.h"
 #include "mp_msg.h"
 #include "img_format.h"
 #include "mp_image.h"
Index: libmpcodecs/vf_spp.c
===================================================================
--- libmpcodecs/vf_spp.c	(revision 38245)
+++ libmpcodecs/vf_spp.c	(working copy)
@@ -39,7 +39,7 @@
 
 #include "libavutil/common.h"
 #include "libavutil/internal.h"
-#include "libavutil/mem_internal.h"
+#include "libavutil/mem.h"
 #include "libavutil/intreadwrite.h"
 #include "libavcodec/avcodec.h"
 #include "libavcodec/pixblockdsp.h"
Index: m_config.h
===================================================================
--- m_config.h	(revision 38245)
+++ m_config.h	(working copy)
@@ -19,7 +19,7 @@
 #ifndef MPLAYER_M_CONFIG_H
 #define MPLAYER_M_CONFIG_H
 
-#include "libavutil/mem_internal.h"
+#include "libavutil/mem.h"
 
 /// \defgroup Config Config manager
 ///
Index: sub/osd.c
===================================================================
--- sub/osd.c	(revision 38245)
+++ sub/osd.c	(working copy)
@@ -28,7 +28,7 @@
 #include "mp_msg.h"
 #include <inttypes.h>
 #include <stdlib.h>
-#include "libavutil/mem_internal.h"
+#include "libavutil/mem.h"
 #include "libmpcodecs/img_format.h"
 #include "cpudetect.h"
 


More information about the MPlayer-dev-eng mailing list