[FFmpeg-cvslog] avformat/codec2: remove surplus include 'memory.h' statement
Peter Ross
git at videolan.org
Sat Apr 9 22:07:34 EEST 2022
ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Wed Mar 23 16:26:46 2022 +1100| [7f534d022e719a2d98aa7f6ac17cf4fcca5d3779] | committer: Marton Balint
avformat/codec2: remove surplus include 'memory.h' statement
on glibc memory.h drags in string.h, but codec2 does not use any
str* or mem* functions. additionally, memory.h is not part of the
C99 or POSIX standards.
Signed-off-by: Marton Balint <cus at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7f534d022e719a2d98aa7f6ac17cf4fcca5d3779
---
libavformat/codec2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavformat/codec2.c b/libavformat/codec2.c
index cd0521299c..400c5acbdb 100644
--- a/libavformat/codec2.c
+++ b/libavformat/codec2.c
@@ -21,7 +21,6 @@
#include "config_components.h"
-#include <memory.h>
#include "libavcodec/codec2utils.h"
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
More information about the ffmpeg-cvslog
mailing list