summaryrefslogtreecommitdiff
path: root/libavcodec/noise_bsf.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-21 04:09:20 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-24 05:00:15 +0200
commit88a37f0f5bf05790564b2c7b1d001cbc29495fdf (patch)
tree00a92a0a1c929f926f7a69699f00a3bcabf702da /libavcodec/noise_bsf.c
parent60f9ecdccd2fe30c063610fab9eb077786edf0fa (diff)
downloadffmpeg-88a37f0f5bf05790564b2c7b1d001cbc29495fdf.tar.gz
avcodec/noise_bsf: Remove unnecessary headers
With 33d18982fa03feb061c8f744a4f0a9175c1f63ab, the commit introducing the new packet-based bsf API, a new buffer was no longer allocated directly, but via av_new_packet(), so that libavutil/mem.h was no longer needed. Moreover since commit dc99ee6b08e54de13b4c82ff265609b6ab83e3d8 av_packet_make_writable() is employed which copies the data in case it is unavoidable so that string.h is no longer used (it was used for memcpy()). Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/noise_bsf.c')
-rw-r--r--libavcodec/noise_bsf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/noise_bsf.c b/libavcodec/noise_bsf.c
index 721fd217ec..b72429a2d4 100644
--- a/libavcodec/noise_bsf.c
+++ b/libavcodec/noise_bsf.c
@@ -19,13 +19,11 @@
*/
#include <stdlib.h>
-#include <string.h>
#include "avcodec.h"
#include "bsf.h"
#include "libavutil/log.h"
-#include "libavutil/mem.h"
#include "libavutil/opt.h"
typedef struct NoiseContext {