[FFmpeg-devel] [PATCH] avcodec/gif: Remove unnecessary headers

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Aug 23 16:05:12 EEST 2022


The gif encoder uses the bytestream API, not the PutBit-API.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
Will apply this tonight unless there are objections.

 libavcodec/gif.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 8e84b79b8c..c120b4b8fd 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -32,7 +32,6 @@
 
 #define BITSTREAM_WRITER_LE
 #include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
 #include "avcodec.h"
 #include "bytestream.h"
 #include "codec_internal.h"
@@ -40,8 +39,6 @@
 #include "lzw.h"
 #include "gif.h"
 
-#include "put_bits.h"
-
 #define DEFAULT_TRANSPARENCY_INDEX 0x1f
 
 typedef struct GIFContext {
-- 
2.34.1



More information about the ffmpeg-devel mailing list