Revision 6a5d31ac

View differences:

libavcodec/4xm.c
24 24
 * 4XM codec.
25 25
 */
26 26

  
27
#include "libavutil/intreadwrite.h"
27 28
#include "avcodec.h"
28 29
#include "dsputil.h"
29 30
#include "bitstream.h"
libavcodec/8bps.c
34 34
#include <stdio.h>
35 35
#include <stdlib.h>
36 36

  
37
#include "libavutil/intreadwrite.h"
37 38
#include "avcodec.h"
38 39

  
39 40

  
libavcodec/adxdec.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avcodec.h"
22 24
#include "adx.h"
23 25

  
libavcodec/adxenc.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avcodec.h"
22 24
#include "adx.h"
23 25

  
libavcodec/bytestream.h
23 23
#define AVCODEC_BYTESTREAM_H
24 24

  
25 25
#include "libavutil/common.h"
26
#include "libavutil/intreadwrite.h"
26 27

  
27 28
#define DEF_T(type, name, bytes, read, write)                             \
28 29
static av_always_inline type bytestream_get_ ## name(const uint8_t **b){\
libavcodec/cinepak.c
34 34
#include <string.h>
35 35
#include <unistd.h>
36 36

  
37
#include "libavutil/intreadwrite.h"
37 38
#include "avcodec.h"
38 39

  
39 40

  
libavcodec/dirac_parser.c
27 27
 * @author Marco Gerards <marco@gnu.org>
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "parser.h"
31 32

  
32 33
#define DIRAC_PARSE_INFO_PREFIX 0x42424344
libavcodec/dpcm.c
37 37
 * the fourcc 'Axan' in the 'auds' chunk of the AVI header.
38 38
 */
39 39

  
40
#include "libavutil/intreadwrite.h"
40 41
#include "avcodec.h"
41 42

  
42 43
typedef struct DPCMContext {
libavcodec/dsputil.h
30 30
#ifndef AVCODEC_DSPUTIL_H
31 31
#define AVCODEC_DSPUTIL_H
32 32

  
33
#include "libavutil/intreadwrite.h"
33 34
#include "avcodec.h"
34 35

  
35 36

  
libavcodec/dvdsub_parser.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avcodec.h"
22 24

  
23 25
/* parser definition */
libavcodec/dxa.c
27 27
#include <stdio.h>
28 28
#include <stdlib.h>
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avcodec.h"
31 32

  
32 33
#include <zlib.h>
libavcodec/eacmv.c
28 28
 * http://wiki.multimedia.cx/index.php?title=Electronic_Arts_CMV
29 29
 */
30 30

  
31
#include "libavutil/intreadwrite.h"
31 32
#include "avcodec.h"
32 33

  
33 34
typedef struct CmvContext {
libavcodec/flicvideo.c
40 40
#include <string.h>
41 41
#include <unistd.h>
42 42

  
43
#include "libavutil/bswap.h"
43
#include "libavutil/intreadwrite.h"
44 44
#include "avcodec.h"
45 45

  
46 46
#define FLI_256_COLOR 4
libavcodec/h264_mp4toannexb_bsf.c
18 18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 19
 */
20 20

  
21
#include "libavutil/intreadwrite.h"
21 22
#include "avcodec.h"
22 23

  
23 24
typedef struct H264BSFContext {
libavcodec/mlp.c
22 22
#include <stdint.h>
23 23

  
24 24
#include "libavutil/crc.h"
25
#include "libavutil/intreadwrite.h"
25 26
#include "mlp.h"
26 27

  
27 28
const uint8_t ff_mlp_huffman_tables[3][18][2] = {
libavcodec/mmvideo.c
31 31
 *  http://wiki.multimedia.cx/index.php?title=American_Laser_Games_MM
32 32
 */
33 33

  
34
#include "libavutil/intreadwrite.h"
34 35
#include "avcodec.h"
35 36

  
36 37
#define MM_PREAMBLE_SIZE    6
libavcodec/movsub_bsf.c
18 18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 19
 */
20 20

  
21
#include "libavutil/intreadwrite.h"
21 22
#include "avcodec.h"
22 23

  
23 24

  
libavcodec/msrledec.c
26 26
 *   http://www.multimedia.cx/msrle.txt
27 27
 */
28 28

  
29
#include "libavutil/intreadwrite.h"
29 30
#include "avcodec.h"
30 31

  
31 32
#define FETCH_NEXT_STREAM_BYTE() \
libavcodec/msvideo1.c
35 35
#include <string.h>
36 36
#include <unistd.h>
37 37

  
38
#include "libavutil/intreadwrite.h"
38 39
#include "avcodec.h"
39 40

  
40 41
#define PALETTE_COUNT 256
libavcodec/ptx.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "avcodec.h"
23 24

  
24 25
typedef struct PTXContext {
libavcodec/qdrw.c
24 24
 * Apple QuickDraw codec.
25 25
 */
26 26

  
27
#include "libavutil/intreadwrite.h"
27 28
#include "avcodec.h"
28 29

  
29 30
typedef struct QdrawContext{
libavcodec/qtrle.c
36 36
#include <string.h>
37 37
#include <unistd.h>
38 38

  
39
#include "libavutil/intreadwrite.h"
39 40
#include "avcodec.h"
40 41

  
41 42
typedef struct QtrleContext {
libavcodec/rl2.c
32 32
#include <string.h>
33 33
#include <unistd.h>
34 34

  
35
#include "libavutil/intreadwrite.h"
35 36
#include "avcodec.h"
36 37

  
37 38

  
libavcodec/rpza.c
39 39
#include <string.h>
40 40
#include <unistd.h>
41 41

  
42
#include "libavutil/intreadwrite.h"
42 43
#include "avcodec.h"
43 44

  
44 45
typedef struct RpzaContext {
libavcodec/s3tc.c
21 21
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 22
 */
23 23

  
24
#include "libavutil/intreadwrite.h"
24 25
#include "avcodec.h"
25 26
#include "s3tc.h"
26 27

  
libavcodec/smc.c
33 33
#include <string.h>
34 34
#include <unistd.h>
35 35

  
36
#include "libavutil/intreadwrite.h"
36 37
#include "avcodec.h"
37 38

  
38 39
#define CPAIR 2
libavcodec/sunrast.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "avcodec.h"
23 24

  
24 25
#define RT_OLD          0
libavcodec/targa.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avcodec.h"
22 24

  
23 25
enum TargaCompr{
libavcodec/targaenc.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avcodec.h"
22 24
#include "rle.h"
23 25

  
libavcodec/truespeech.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avcodec.h"
22 24

  
23 25
#include "truespeech_data.h"
libavcodec/txd.c
21 21
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 22
 */
23 23

  
24
#include "libavutil/intreadwrite.h"
24 25
#include "avcodec.h"
25 26
#include "s3tc.h"
26 27

  
libavcodec/vmdav.c
44 44
#include <string.h>
45 45
#include <unistd.h>
46 46

  
47
#include "libavutil/intreadwrite.h"
47 48
#include "avcodec.h"
48 49

  
49 50
#define VMD_HEADER_SIZE 0x330
libavcodec/vmnc.c
28 28
#include <stdio.h>
29 29
#include <stdlib.h>
30 30

  
31
#include "libavutil/intreadwrite.h"
31 32
#include "avcodec.h"
32 33

  
33 34
enum EncTypes {
libavcodec/vqavideo.c
68 68
#include <string.h>
69 69
#include <unistd.h>
70 70

  
71
#include "libavutil/intreadwrite.h"
71 72
#include "avcodec.h"
72 73

  
73 74
#define PALETTE_COUNT 256
libavcodec/ws-snd1.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avcodec.h"
22 24

  
23 25
/**
libavcodec/xan.c
33 33
#include <string.h>
34 34
#include <unistd.h>
35 35

  
36
#include "libavutil/intreadwrite.h"
36 37
#include "avcodec.h"
37 38

  
38 39
typedef struct XanContext {
libavcodec/xiph.c
18 18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 19
 */
20 20

  
21
#include "libavutil/intreadwrite.h"
21 22
#include "xiph.h"
22 23

  
23 24
int ff_split_xiph_headers(uint8_t *extradata, int extradata_size,
libavcodec/xl.c
24 24
 * Miro VideoXL codec.
25 25
 */
26 26

  
27
#include "libavutil/intreadwrite.h"
27 28
#include "avcodec.h"
28 29

  
29 30
typedef struct VideoXLContext{
libavcodec/zmbv.c
27 27
#include <stdio.h>
28 28
#include <stdlib.h>
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avcodec.h"
31 32

  
32 33
#include <zlib.h>
libavcodec/zmbvenc.c
27 27
#include <stdio.h>
28 28
#include <stdlib.h>
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avcodec.h"
31 32

  
32 33
#include <zlib.h>
libavformat/4xm.c
27 27
 *   http://www.pcisys.net/~melanson/codecs/
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avformat.h"
31 32

  
32 33
#define     RIFF_TAG MKTAG('R', 'I', 'F', 'F')
libavformat/ape.c
22 22

  
23 23
#include <stdio.h>
24 24

  
25
#include "libavutil/intreadwrite.h"
25 26
#include "avformat.h"
26 27

  
27 28
#define ENABLE_DEBUG 0
libavformat/avc.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avformat.h"
22 24
#include "avio.h"
23 25

  
libavformat/bethsoftvid.c
27 27
 * @sa http://www.svatopluk.com/andux/docs/dfvid.html
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avformat.h"
31 32
#include "libavcodec/bethsoftvideo.h"
32 33

  
libavformat/bfi.c
26 26
 * @sa http://wiki.multimedia.cx/index.php?title=BFI
27 27
 */
28 28

  
29
#include "libavutil/intreadwrite.h"
29 30
#include "avformat.h"
30 31

  
31 32
typedef struct BFIContext {
libavformat/dsicin.c
24 24
 * Delphine Software International CIN file demuxer
25 25
 */
26 26

  
27
#include "libavutil/intreadwrite.h"
27 28
#include "avformat.h"
28 29

  
29 30

  
libavformat/dxa.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "avformat.h"
23 24
#include "riff.h"
24 25

  
libavformat/electronicarts.c
25 25
 * by Robin Kay (komadori at gekkou.co.uk)
26 26
 */
27 27

  
28
#include "libavutil/intreadwrite.h"
28 29
#include "avformat.h"
29 30

  
30 31
#define SCHl_TAG MKTAG('S', 'C', 'H', 'l')
libavformat/ffmdec.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "avformat.h"
23 24
#include "ffm.h"
24 25
#ifdef CONFIG_FFSERVER
libavformat/ffmenc.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "avformat.h"
23 24
#include "ffm.h"
24 25

  
libavformat/flic.c
31 31
 * handles special FLIs from the PC game "Magic Carpet".
32 32
 */
33 33

  
34
#include "libavutil/intreadwrite.h"
34 35
#include "avformat.h"
35 36

  
36 37
#define FLIC_FILE_MAGIC_1 0xAF11
libavformat/idcin.c
68 68
 *       transmitting them to the video decoder
69 69
 */
70 70

  
71
#include "libavutil/intreadwrite.h"
71 72
#include "avformat.h"
72 73

  
73 74
#define HUFFMAN_TABLE_SIZE (64 * 1024)
libavformat/idroq.c
27 27
 *   http://www.csse.monash.edu.au/~timf/
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avformat.h"
31 32

  
32 33
#define RoQ_MAGIC_NUMBER 0x1084
libavformat/iff.c
27 27
 * http://wiki.multimedia.cx/index.php?title=IFF
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avformat.h"
31 32

  
32 33
#define ID_8SVX       MKTAG('8','S','V','X')
libavformat/ipmovie.c
32 32
 * up and sending out the chunks.
33 33
 */
34 34

  
35
#include "libavutil/intreadwrite.h"
35 36
#include "avformat.h"
36 37

  
37 38
/* debugging support: #define DEBUG_IPMOVIE as non-zero to see extremely
libavformat/lmlm4.c
22 22
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 23
 */
24 24

  
25
#include "libavutil/intreadwrite.h"
25 26
#include "avformat.h"
26 27

  
27 28
#define LMLM4_I_FRAME   0x00
libavformat/matroskadec.c
36 36
#include "matroska.h"
37 37
#include "libavcodec/mpeg4audio.h"
38 38
#include "libavutil/intfloat_readwrite.h"
39
#include "libavutil/intreadwrite.h"
39 40
#include "libavutil/avstring.h"
40 41
#include "libavutil/lzo.h"
41 42
#ifdef CONFIG_ZLIB
libavformat/matroskaenc.c
24 24
#include "isom.h"
25 25
#include "matroska.h"
26 26
#include "avc.h"
27
#include "libavutil/intreadwrite.h"
27 28
#include "libavutil/md5.h"
28 29
#include "libavcodec/xiph.h"
29 30
#include "libavcodec/mpeg4audio.h"
libavformat/mm.c
31 31
 *  http://wiki.multimedia.cx/index.php?title=American_Laser_Games_MM
32 32
 */
33 33

  
34
#include "libavutil/intreadwrite.h"
34 35
#include "avformat.h"
35 36

  
36 37
#define MM_PREAMBLE_SIZE    6
libavformat/mov.c
23 23

  
24 24
//#define DEBUG
25 25

  
26
#include "libavutil/intreadwrite.h"
26 27
#include "avformat.h"
27 28
#include "riff.h"
28 29
#include "isom.h"
libavformat/mpegts.c
20 20
 */
21 21

  
22 22
#include "libavutil/crc.h"
23
#include "libavutil/intreadwrite.h"
23 24
#include "avformat.h"
24 25
#include "mpegts.h"
25 26
#include "internal.h"
libavformat/mpegtsenc.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/bswap.h"
22 23
#include "libavutil/crc.h"
23 24
#include "avformat.h"
24 25
#include "mpegts.h"
libavformat/nutdec.c
21 21
 */
22 22

  
23 23
#include "libavutil/avstring.h"
24
#include "libavutil/bswap.h"
24 25
#include "libavutil/tree.h"
25 26
#include "nut.h"
26 27

  
libavformat/nutenc.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "libavutil/tree.h"
23 24
#include "libavcodec/mpegaudiodata.h"
24 25
#include "nut.h"
libavformat/nuv.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "libavutil/intreadwrite.h"
21 23
#include "avformat.h"
22 24
#include "riff.h"
23 25

  
libavformat/psxstr.c
29 29
 * RIFF headers, followed by CD sectors.
30 30
 */
31 31

  
32
#include "libavutil/intreadwrite.h"
32 33
#include "avformat.h"
33 34

  
34 35
#define RIFF_TAG MKTAG('R', 'I', 'F', 'F')
libavformat/rl2.c
33 33
 * optional background_frame
34 34
 */
35 35

  
36
#include "libavutil/intreadwrite.h"
36 37
#include "avformat.h"
37 38

  
38 39
#define EXTRADATA1_SIZE (6 + 256 * 3) ///< video base, clr, palette
libavformat/rmdec.c
20 20
 */
21 21

  
22 22
#include "libavutil/avstring.h"
23
#include "libavutil/intreadwrite.h"
23 24
#include "avformat.h"
24 25
#include "rm.h"
25 26

  
libavformat/rtsp.c
23 23
#define _SVID_SOURCE
24 24

  
25 25
#include "libavutil/avstring.h"
26
#include "libavutil/intreadwrite.h"
26 27
#include "avformat.h"
27 28

  
28 29
#include <sys/time.h>
libavformat/segafilm.c
27 27
 *   http://www.pcisys.net/~melanson/codecs/
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avformat.h"
31 32

  
32 33
#define FILM_TAG MKBETAG('F', 'I', 'L', 'M')
libavformat/sierravmd.c
27 27
 *   http://www.pcisys.net/~melanson/codecs/
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avformat.h"
31 32

  
32 33
#define VMD_HEADER_SIZE 0x0330
libavformat/siff.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "avformat.h"
23 24

  
24 25
enum SIFFTags{
libavformat/smacker.c
24 24
 */
25 25

  
26 26
#include "libavutil/bswap.h"
27
#include "libavutil/intreadwrite.h"
27 28
#include "avformat.h"
28 29

  
29 30
#define SMACKER_PAL 0x01
libavformat/swfdec.c
20 20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 21
 */
22 22

  
23
#include "libavutil/intreadwrite.h"
23 24
#include "swf.h"
24 25

  
25 26
static int get_swf_tag(ByteIOContext *pb, int *len_ptr)
libavformat/thp.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22

  
22
#include "libavutil/intreadwrite.h"
23 23
#include "avformat.h"
24 24

  
25 25
typedef struct ThpDemuxContext {
libavformat/txd.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "avformat.h"
23 24

  
24 25
#define TXD_FILE            0x16
libavformat/vc1test.c
26 26
 * Format specified in SMPTE standard 421 Annex L
27 27
 */
28 28

  
29
#include "libavutil/intreadwrite.h"
29 30
#include "avformat.h"
30 31

  
31 32
#define VC1_EXTRADATA_SIZE 4
libavformat/vocdec.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/intreadwrite.h"
22 23
#include "voc.h"
23 24

  
24 25

  
libavformat/wc3movie.c
27 27
 *   http://www.pcisys.net/~melanson/codecs/
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avformat.h"
31 32

  
32 33
#define WC3_PREAMBLE_SIZE 8
libavformat/westwood.c
33 33
 * qualify a file. Refer to wsaud_probe() for the precise parameters.
34 34
 */
35 35

  
36
#include "libavutil/intreadwrite.h"
36 37
#include "avformat.h"
37 38

  
38 39
#define AUD_HEADER_SIZE 12
libavformat/wv.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "libavutil/bswap.h"
22
#include "libavutil/intreadwrite.h"
23 23
#include "avformat.h"
24 24

  
25 25
// specs say that maximum block size is 1Mb
libavformat/xa.c
27 27
 *   http://wiki.multimedia.cx/index.php?title=Maxis_XA
28 28
 */
29 29

  
30
#include "libavutil/intreadwrite.h"
30 31
#include "avformat.h"
31 32

  
32 33
#define XA00_TAG MKTAG('X', 'A', 0, 0)

Also available in: Unified diff