Skip to content

Commit

Permalink
Remove unnecessary get_bits.h #includes and add missing headers where…
Browse files Browse the repository at this point in the history
… needed.

Signed-off-by: Diego Biurrun <[email protected]>
  • Loading branch information
sasshka authored and DonDiego committed May 4, 2016
1 parent c11c693 commit 5c31eaa
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 13 deletions.
1 change: 0 additions & 1 deletion libavcodec/adpcmenc.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
*/

#include "avcodec.h"
#include "get_bits.h"
#include "put_bits.h"
#include "bytestream.h"
#include "adpcm.h"
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/cabac.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <string.h>

#include "libavutil/common.h"
#include "get_bits.h"

#include "cabac.h"
#include "cabac_functions.h"

Expand Down
2 changes: 1 addition & 1 deletion libavcodec/ffv1enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion libavcodec/huffman.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <stdint.h>

#include "avcodec.h"
#include "get_bits.h"
#include "huffman.h"

/* symbol for Huffman tree node */
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/iff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 4 additions & 2 deletions libavcodec/yop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion libavformat/mpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*/

#include "libavutil/channel_layout.h"
#include "libavcodec/get_bits.h"

#include "avformat.h"
#include "internal.h"
#include "apetag.h"
Expand Down
4 changes: 3 additions & 1 deletion libavformat/oggparseogm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion libavformat/oggparsespeex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion libavformat/oggparsevorbis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions libavformat/tta.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5c31eaa

Please sign in to comment.