[FFmpeg-cvslog] avcodec/gif: move BITSTREAM_WRITER_LE up

Michael Niedermayer git at videolan.org
Wed Aug 14 23:20:21 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Aug 14 22:34:18 2013 +0200| [5dd5985e0530214abd65a0bcdd711dd13ac0e880] | committer: Michael Niedermayer

avcodec/gif: move BITSTREAM_WRITER_LE up

This prevents issues in case any header #includes put_bits.h

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/gif.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/gif.c b/libavcodec/gif.c
index 98e31f0..bfe91ca 100644
--- a/libavcodec/gif.c
+++ b/libavcodec/gif.c
@@ -28,6 +28,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"
@@ -36,7 +37,6 @@
 #include "lzw.h"
 #include "gif.h"
 
-#define BITSTREAM_WRITER_LE
 #include "put_bits.h"
 
 typedef struct {



More information about the ffmpeg-cvslog mailing list