aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandra Hájková <alexandra@khirnov.net>2016-04-23 16:44:11 +0200
committerDiego Biurrun <diego@biurrun.de>2016-05-04 15:14:14 +0200
commit5c31eaa9998b2185e0aa04d11adff128498dc14a (patch)
tree385171fd523ac163ce4ea4db7a360803fac37dbb
parentc11c693accaad65d3f4afa44c27f2338a2e3bf8f (diff)
downloadffmpeg-5c31eaa9998b2185e0aa04d11adff128498dc14a.tar.gz
Remove unnecessary get_bits.h #includes and add missing headers where needed.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-rw-r--r--libavcodec/adpcmenc.c1
-rw-r--r--libavcodec/cabac.c2
-rw-r--r--libavcodec/ffv1enc.c2
-rw-r--r--libavcodec/huffman.c1
-rw-r--r--libavcodec/iff.c2
-rw-r--r--libavcodec/yop.c6
-rw-r--r--libavformat/mpc.c2
-rw-r--r--libavformat/oggparseogm.c4
-rw-r--r--libavformat/oggparsespeex.c4
-rw-r--r--libavformat/oggparsevorbis.c3
-rw-r--r--libavformat/tta.c5
11 files changed, 19 insertions, 13 deletions
diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c
index 65e1f8e636..3e17dbd8de 100644
--- a/libavcodec/adpcmenc.c
+++ b/libavcodec/adpcmenc.c
@@ -23,7 +23,6 @@
*/
#include "avcodec.h"
-#include "get_bits.h"
#include "put_bits.h"
#include "bytestream.h"
#include "adpcm.h"
diff --git a/libavcodec/cabac.c b/libavcodec/cabac.c
index a96c9f5a2c..5c590030f1 100644
--- a/libavcodec/cabac.c
+++ b/libavcodec/cabac.c
@@ -27,7 +27,7 @@
#include <string.h>
#include "libavutil/common.h"
-#include "get_bits.h"
+
#include "cabac.h"
#include "cabac_functions.h"
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
index 9c2e463e6c..7995376ca0 100644
--- a/libavcodec/ffv1enc.c
+++ b/libavcodec/ffv1enc.c
@@ -31,9 +31,9 @@
#include "libavutil/crc.h"
#include "libavutil/opt.h"
#include "libavutil/imgutils.h"
+
#include "avcodec.h"
#include "internal.h"
-#include "get_bits.h"
#include "put_bits.h"
#include "rangecoder.h"
#include "golomb.h"
diff --git a/libavcodec/huffman.c b/libavcodec/huffman.c
index f13ab296a5..2a3db87df3 100644
--- a/libavcodec/huffman.c
+++ b/libavcodec/huffman.c
@@ -27,7 +27,6 @@
#include <stdint.h>
#include "avcodec.h"
-#include "get_bits.h"
#include "huffman.h"
/* symbol for Huffman tree node */
diff --git a/libavcodec/iff.c b/libavcodec/iff.c
index 0d56cd5837..a186e3185c 100644
--- a/libavcodec/iff.c
+++ b/libavcodec/iff.c
@@ -28,9 +28,9 @@
#include <stdint.h>
#include "libavutil/imgutils.h"
+
#include "bytestream.h"
#include "avcodec.h"
-#include "get_bits.h"
#include "internal.h"
typedef struct IffContext {
diff --git a/libavcodec/yop.c b/libavcodec/yop.c
index 98ed7237a3..5de4ac807a 100644
--- a/libavcodec/yop.c
+++ b/libavcodec/yop.c
@@ -22,11 +22,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavutil/intreadwrite.h"
+#include <string.h>
+
#include "libavutil/imgutils.h"
+#include "libavutil/internal.h"
+#include "libavutil/intreadwrite.h"
#include "avcodec.h"
-#include "get_bits.h"
#include "internal.h"
typedef struct YopDecContext {
diff --git a/libavformat/mpc.c b/libavformat/mpc.c
index 8127996e01..cf8fe1e136 100644
--- a/libavformat/mpc.c
+++ b/libavformat/mpc.c
@@ -20,7 +20,7 @@
*/
#include "libavutil/channel_layout.h"
-#include "libavcodec/get_bits.h"
+
#include "avformat.h"
#include "internal.h"
#include "apetag.h"
diff --git a/libavformat/oggparseogm.c b/libavformat/oggparseogm.c
index 3ce11bdaff..62784650b6 100644
--- a/libavformat/oggparseogm.c
+++ b/libavformat/oggparseogm.c
@@ -23,9 +23,11 @@
**/
#include <stdlib.h>
+
#include "libavutil/intreadwrite.h"
-#include "libavcodec/get_bits.h"
+
#include "libavcodec/bytestream.h"
+
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"
diff --git a/libavformat/oggparsespeex.c b/libavformat/oggparsespeex.c
index fa24c127dc..2430cd742b 100644
--- a/libavformat/oggparsespeex.c
+++ b/libavformat/oggparsespeex.c
@@ -23,11 +23,13 @@
**/
#include <stdlib.h>
+
#include "libavutil/bswap.h"
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
-#include "libavcodec/get_bits.h"
+
#include "libavcodec/bytestream.h"
+
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"
diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c
index 4cb10a1070..95fe082949 100644
--- a/libavformat/oggparsevorbis.c
+++ b/libavformat/oggparsevorbis.c
@@ -28,9 +28,10 @@
#include "libavutil/base64.h"
#include "libavutil/bswap.h"
#include "libavutil/dict.h"
+
#include "libavcodec/bytestream.h"
-#include "libavcodec/get_bits.h"
#include "libavcodec/vorbis_parser.h"
+
#include "avformat.h"
#include "flac_picture.h"
#include "internal.h"
diff --git a/libavformat/tta.c b/libavformat/tta.c
index be22527eab..091b502567 100644
--- a/libavformat/tta.c
+++ b/libavformat/tta.c
@@ -19,11 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "libavcodec/get_bits.h"
+#include "libavutil/dict.h"
+#include "libavutil/intreadwrite.h"
+
#include "avformat.h"
#include "internal.h"
#include "id3v1.h"
-#include "libavutil/dict.h"
typedef struct TTAContext {
int totalframes, currentframe;