apng: move shared header from avformat to avcodec.
authorBenoit Fouet <benoit.fouet@free.fr>
Tue, 2 Dec 2014 08:21:47 +0000 (09:21 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 2 Dec 2014 14:52:31 +0000 (15:52 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/apng.h [moved from libavformat/apng.h with 93% similarity]
libavcodec/pngdec.c
libavformat/apngdec.c

similarity index 93%
rename from libavformat/apng.h
rename to libavcodec/apng.h
index 2abf011..41249e0 100644 (file)
@@ -24,8 +24,8 @@
  * APNG common header
  */
 
-#ifndef AVFORMAT_APNG_H
-#define AVFORMAT_APNG_H
+#ifndef AVCODEC_APNG_H
+#define AVCODEC_APNG_H
 
 enum {
    APNG_DISPOSE_OP_NONE       = 0,
@@ -38,4 +38,4 @@ enum {
     APNG_BLEND_OP_OVER   = 1,
 };
 
-#endif /* AVFORMAT_APNG_H */
+#endif /* AVCODEC_APNG_H */
index 9e52d0b..229a6d6 100644 (file)
 #include "avcodec.h"
 #include "bytestream.h"
 #include "internal.h"
+#include "apng.h"
 #include "png.h"
 #include "pngdsp.h"
 #include "thread.h"
-#include "libavformat/apng.h"
 
 #include <zlib.h>
 
index 276d765..189480e 100644 (file)
  * @see http://www.w3.org/TR/PNG
  */
 
-#include "apng.h"
 #include "avformat.h"
 #include "avio_internal.h"
 #include "internal.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/intreadwrite.h"
 #include "libavutil/opt.h"
+#include "libavcodec/apng.h"
 #include "libavcodec/png.h"
 #include "libavcodec/bytestream.h"