aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/protocols.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-23 14:06:58 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-09-07 00:42:10 +0200
commite3b355c0be85ec47ee8b3d7790ad4c4fa26827c0 (patch)
treea4cd74db661bc69b42348cd965326dffd6c2d6f4 /libavformat/protocols.c
parentc3e3ea3c8846486dfe81b3761584f7c98ada9c75 (diff)
downloadffmpeg-e3b355c0be85ec47ee8b3d7790ad4c4fa26827c0.tar.gz
avutil/mem: Don't include avutil.h
It is not necessary at all. So remove it. This also breaks an inclusion cycle mem.h->avutil.h->common.h->mem.h. Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/protocols.c')
-rw-r--r--libavformat/protocols.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/protocols.c b/libavformat/protocols.c
index 9491dc7d00..360018b17c 100644
--- a/libavformat/protocols.c
+++ b/libavformat/protocols.c
@@ -16,6 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <string.h>
+
#include "libavutil/avstring.h"
#include "libavutil/log.h"
#include "libavutil/mem.h"