[FFmpeg-cvslog] avcodec/gif: Remove unnecessary headers

Andreas Rheinhardt git at videolan.org
Wed Aug 24 04:50:01 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Aug 23 15:00:40 2022 +0200| [0b3f09689dd3dde90e44e6ada4dd3d77cb4d44ac] | committer: Andreas Rheinhardt

avcodec/gif: Remove unnecessary headers

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

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

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

diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 8e84b79b8c..a0406f5544 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -30,9 +30,7 @@
  * @see http://www.w3.org/Graphics/GIF/spec-gif89a.txt
  */
 
-#define BITSTREAM_WRITER_LE
 #include "libavutil/opt.h"
-#include "libavutil/imgutils.h"
 #include "avcodec.h"
 #include "bytestream.h"
 #include "codec_internal.h"
@@ -40,8 +38,6 @@
 #include "lzw.h"
 #include "gif.h"
 
-#include "put_bits.h"
-
 #define DEFAULT_TRANSPARENCY_INDEX 0x1f
 
 typedef struct GIFContext {



More information about the ffmpeg-cvslog mailing list