[FFmpeg-cvslog] avcodec/dump_extradata_bsf: Remove unnecessary header

Andreas Rheinhardt git at videolan.org
Fri Apr 24 06:23:17 EEST 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Tue Apr 21 03:51:57 2020 +0200| [60f9ecdccd2fe30c063610fab9eb077786edf0fa] | committer: Andreas Rheinhardt

avcodec/dump_extradata_bsf: Remove unnecessary header

Since 33d18982fa03feb061c8f744a4f0a9175c1f63ab (the commit that
introduced the new bsf API) allocating an enlarged buffer in case
extradata needs to be added to a packet is done via av_new_packet(),
so that libavutil/mem.h is no longer needed.

Reviewed-by: Anton Khirnov <anton at khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=60f9ecdccd2fe30c063610fab9eb077786edf0fa
---

 libavcodec/dump_extradata_bsf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/dump_extradata_bsf.c b/libavcodec/dump_extradata_bsf.c
index 0b6d404792..218853d25e 100644
--- a/libavcodec/dump_extradata_bsf.c
+++ b/libavcodec/dump_extradata_bsf.c
@@ -24,7 +24,6 @@
 #include "bsf.h"
 
 #include "libavutil/log.h"
-#include "libavutil/mem.h"
 #include "libavutil/opt.h"
 
 enum DumpFreq {



More information about the ffmpeg-cvslog mailing list