Skip to content

Commit

Permalink
Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
Browse files Browse the repository at this point in the history
Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information
DonDiego committed Jan 11, 2009
1 parent 7b04b8a commit 6a5d31a
Show file tree
Hide file tree
Showing 82 changed files with 91 additions and 3 deletions.
1 change: 1 addition & 0 deletions libavcodec/4xm.c
Expand Up @@ -24,6 +24,7 @@
* 4XM codec.
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
Expand Down
1 change: 1 addition & 0 deletions libavcodec/8bps.c
Expand Up @@ -34,6 +34,7 @@
#include <stdio.h>
#include <stdlib.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"


Expand Down
2 changes: 2 additions & 0 deletions libavcodec/adxdec.c
Expand Up @@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "adx.h"

Expand Down
2 changes: 2 additions & 0 deletions libavcodec/adxenc.c
Expand Up @@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "adx.h"

Expand Down
1 change: 1 addition & 0 deletions libavcodec/bytestream.h
Expand Up @@ -23,6 +23,7 @@
#define AVCODEC_BYTESTREAM_H

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

#define DEF_T(type, name, bytes, read, write) \
static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\
Expand Down
1 change: 1 addition & 0 deletions libavcodec/cinepak.c
Expand Up @@ -34,6 +34,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"


Expand Down
1 change: 1 addition & 0 deletions libavcodec/dirac_parser.c
Expand Up @@ -27,6 +27,7 @@
* @author Marco Gerards <marco@gnu.org>
*/

#include "libavutil/intreadwrite.h"
#include "parser.h"

#define DIRAC_PARSE_INFO_PREFIX 0x42424344
Expand Down
1 change: 1 addition & 0 deletions libavcodec/dpcm.c
Expand Up @@ -37,6 +37,7 @@
* the fourcc 'Axan' in the 'auds' chunk of the AVI header.
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct DPCMContext {
Expand Down
1 change: 1 addition & 0 deletions libavcodec/dsputil.h
Expand Up @@ -30,6 +30,7 @@
#ifndef AVCODEC_DSPUTIL_H
#define AVCODEC_DSPUTIL_H

#include "libavutil/intreadwrite.h"
#include "avcodec.h"


Expand Down
2 changes: 2 additions & 0 deletions libavcodec/dvdsub_parser.c
Expand Up @@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

/* parser definition */
Expand Down
1 change: 1 addition & 0 deletions libavcodec/dxa.c
Expand Up @@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#include <zlib.h>
Expand Down
1 change: 1 addition & 0 deletions libavcodec/eacmv.c
Expand Up @@ -28,6 +28,7 @@
* http://wiki.multimedia.cx/index.php?title=Electronic_Arts_CMV
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct CmvContext {
Expand Down
2 changes: 1 addition & 1 deletion libavcodec/flicvideo.c
Expand Up @@ -40,7 +40,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/bswap.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#define FLI_256_COLOR 4
Expand Down
1 change: 1 addition & 0 deletions libavcodec/h264_mp4toannexb_bsf.c
Expand Up @@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct H264BSFContext {
Expand Down
1 change: 1 addition & 0 deletions libavcodec/mlp.c
Expand Up @@ -22,6 +22,7 @@
#include <stdint.h>

#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
#include "mlp.h"

const uint8_t ff_mlp_huffman_tables[3][18][2] = {
Expand Down
1 change: 1 addition & 0 deletions libavcodec/mmvideo.c
Expand Up @@ -31,6 +31,7 @@
* http://wiki.multimedia.cx/index.php?title=American_Laser_Games_MM
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#define MM_PREAMBLE_SIZE 6
Expand Down
1 change: 1 addition & 0 deletions libavcodec/movsub_bsf.c
Expand Up @@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"


Expand Down
1 change: 1 addition & 0 deletions libavcodec/msrledec.c
Expand Up @@ -26,6 +26,7 @@
* http://www.multimedia.cx/msrle.txt
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#define FETCH_NEXT_STREAM_BYTE() \
Expand Down
1 change: 1 addition & 0 deletions libavcodec/msvideo1.c
Expand Up @@ -35,6 +35,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#define PALETTE_COUNT 256
Expand Down
1 change: 1 addition & 0 deletions libavcodec/ptx.c
Expand Up @@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct PTXContext {
Expand Down
1 change: 1 addition & 0 deletions libavcodec/qdrw.c
Expand Up @@ -24,6 +24,7 @@
* Apple QuickDraw codec.
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct QdrawContext{
Expand Down
1 change: 1 addition & 0 deletions libavcodec/qtrle.c
Expand Up @@ -36,6 +36,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct QtrleContext {
Expand Down
1 change: 1 addition & 0 deletions libavcodec/rl2.c
Expand Up @@ -32,6 +32,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"


Expand Down
1 change: 1 addition & 0 deletions libavcodec/rpza.c
Expand Up @@ -39,6 +39,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct RpzaContext {
Expand Down
1 change: 1 addition & 0 deletions libavcodec/s3tc.c
Expand Up @@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "s3tc.h"

Expand Down
1 change: 1 addition & 0 deletions libavcodec/smc.c
Expand Up @@ -33,6 +33,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#define CPAIR 2
Expand Down
1 change: 1 addition & 0 deletions libavcodec/sunrast.c
Expand Up @@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#define RT_OLD 0
Expand Down
2 changes: 2 additions & 0 deletions libavcodec/targa.c
Expand Up @@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

enum TargaCompr{
Expand Down
2 changes: 2 additions & 0 deletions libavcodec/targaenc.c
Expand Up @@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "rle.h"

Expand Down
2 changes: 2 additions & 0 deletions libavcodec/truespeech.c
Expand Up @@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#include "truespeech_data.h"
Expand Down
1 change: 1 addition & 0 deletions libavcodec/txd.c
Expand Up @@ -21,6 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "s3tc.h"

Expand Down
1 change: 1 addition & 0 deletions libavcodec/vmdav.c
Expand Up @@ -44,6 +44,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#define VMD_HEADER_SIZE 0x330
Expand Down
1 change: 1 addition & 0 deletions libavcodec/vmnc.c
Expand Up @@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdlib.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

enum EncTypes {
Expand Down
1 change: 1 addition & 0 deletions libavcodec/vqavideo.c
Expand Up @@ -68,6 +68,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#define PALETTE_COUNT 256
Expand Down
2 changes: 2 additions & 0 deletions libavcodec/ws-snd1.c
Expand Up @@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

/**
Expand Down
1 change: 1 addition & 0 deletions libavcodec/xan.c
Expand Up @@ -33,6 +33,7 @@
#include <string.h>
#include <unistd.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct XanContext {
Expand Down
1 change: 1 addition & 0 deletions libavcodec/xiph.c
Expand Up @@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "xiph.h"

int ff_split_xiph_headers(uint8_t *extradata, int extradata_size,
Expand Down
1 change: 1 addition & 0 deletions libavcodec/xl.c
Expand Up @@ -24,6 +24,7 @@
* Miro VideoXL codec.
*/

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

typedef struct VideoXLContext{
Expand Down
1 change: 1 addition & 0 deletions libavcodec/zmbv.c
Expand Up @@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#include <zlib.h>
Expand Down
1 change: 1 addition & 0 deletions libavcodec/zmbvenc.c
Expand Up @@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>

#include "libavutil/intreadwrite.h"
#include "avcodec.h"

#include <zlib.h>
Expand Down
1 change: 1 addition & 0 deletions libavformat/4xm.c
Expand Up @@ -27,6 +27,7 @@
* http://www.pcisys.net/~melanson/codecs/
*/

#include "libavutil/intreadwrite.h"
#include "avformat.h"

#define RIFF_TAG MKTAG('R', 'I', 'F', 'F')
Expand Down
1 change: 1 addition & 0 deletions libavformat/ape.c
Expand Up @@ -22,6 +22,7 @@

#include <stdio.h>

#include "libavutil/intreadwrite.h"
#include "avformat.h"

#define ENABLE_DEBUG 0
Expand Down
2 changes: 2 additions & 0 deletions libavformat/avc.c
Expand Up @@ -18,6 +18,8 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio.h"

Expand Down
1 change: 1 addition & 0 deletions libavformat/bethsoftvid.c
Expand Up @@ -27,6 +27,7 @@
* @sa http://www.svatopluk.com/andux/docs/dfvid.html
*/

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "libavcodec/bethsoftvideo.h"

Expand Down
1 change: 1 addition & 0 deletions libavformat/bfi.c
Expand Up @@ -26,6 +26,7 @@
* @sa http://wiki.multimedia.cx/index.php?title=BFI
*/

#include "libavutil/intreadwrite.h"
#include "avformat.h"

typedef struct BFIContext {
Expand Down
1 change: 1 addition & 0 deletions libavformat/dsicin.c
Expand Up @@ -24,6 +24,7 @@
* Delphine Software International CIN file demuxer
*/

#include "libavutil/intreadwrite.h"
#include "avformat.h"


Expand Down
1 change: 1 addition & 0 deletions libavformat/dxa.c
Expand Up @@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "riff.h"

Expand Down
1 change: 1 addition & 0 deletions libavformat/electronicarts.c
Expand Up @@ -25,6 +25,7 @@
* by Robin Kay (komadori at gekkou.co.uk)
*/

#include "libavutil/intreadwrite.h"
#include "avformat.h"

#define SCHl_TAG MKTAG('S', 'C', 'H', 'l')
Expand Down

0 comments on commit 6a5d31a

Please sign in to comment.