[FFmpeg-devel] [PATCH 8/8] avcodec/mjpeg2jpeg_bsf: Remove unnecessary header

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Tue Apr 21 05:31:53 EEST 2020


libavutil/mem.h is unneeded since 33d18982fa03feb061c8f744a4f0a9175c1f63ab,
the commit that introduced the new packet-based bsf API, because with
this switch the allocations were no longer performed directly, but by
av_new_packet().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/mjpeg2jpeg_bsf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavcodec/mjpeg2jpeg_bsf.c b/libavcodec/mjpeg2jpeg_bsf.c
index 6f02bc033c..76605b2805 100644
--- a/libavcodec/mjpeg2jpeg_bsf.c
+++ b/libavcodec/mjpeg2jpeg_bsf.c
@@ -27,7 +27,6 @@
 #include <string.h>
 
 #include "libavutil/error.h"
-#include "libavutil/mem.h"
 #include "libavutil/intreadwrite.h"
 
 #include "avcodec.h"
-- 
2.20.1



More information about the ffmpeg-devel mailing list