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

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


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Tue Apr 21 04:19:07 2020 +0200| [a501947a840debe772458764d2b4595e403678d2] | committer: Andreas Rheinhardt

avcodec/mjpeg2jpeg_bsf: Remove unnecessary header

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().

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=a501947a840debe772458764d2b4595e403678d2
---

 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"



More information about the ffmpeg-cvslog mailing list