Skip to content

Commit

Permalink
Merge commit '5c31eaa9998b2185e0aa04d11adff128498dc14a'
Browse files Browse the repository at this point in the history
* commit '5c31eaa9998b2185e0aa04d11adff128498dc14a':
  Remove unnecessary get_bits.h #includes and add missing headers where needed.

Merged-by: Clément Bœsch <[email protected]>
  • Loading branch information
ubitux committed Jun 21, 2016
2 parents 3801060 + 5c31eaa commit 9204a84
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion libavcodec/cabac.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

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

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

Expand Down
1 change: 1 addition & 0 deletions libavcodec/ffv1enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "libavutil/timer.h"

#include "avcodec.h"
#include "internal.h"
#include "put_bits.h"
Expand Down
1 change: 0 additions & 1 deletion libavcodec/huffman.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

#include "libavutil/qsort.h"
#include "avcodec.h"
#include "get_bits.h"
#include "huffman.h"

/* symbol for Huffman tree node */
Expand Down
1 change: 1 addition & 0 deletions libavcodec/iff.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <stdint.h>

#include "libavutil/imgutils.h"

#include "bytestream.h"
#include "avcodec.h"
#include "internal.h"
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,10 +23,12 @@
**/

#include <stdlib.h>

#include "libavutil/avassert.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
7 changes: 4 additions & 3 deletions libavformat/tta.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavcodec/get_bits.h"
#include "libavutil/crc.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"

#include "apetag.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "id3v1.h"
#include "libavutil/crc.h"
#include "libavutil/dict.h"

typedef struct TTAContext {
int totalframes, currentframe;
Expand Down

0 comments on commit 9204a84

Please sign in to comment.