changeset 8573:2acf0ae7b041 libavcodec

Fix build: Add intreadwrite.h and bswap.h #includes where necessary.
author diego
date Sun, 11 Jan 2009 22:19:48 +0000
parents 4e746259152d
children d679fd3a5359
files 4xm.c 8bps.c adxdec.c adxenc.c bytestream.h cinepak.c dirac_parser.c dpcm.c dsputil.h dvdsub_parser.c dxa.c eacmv.c flicvideo.c h264_mp4toannexb_bsf.c mlp.c mmvideo.c movsub_bsf.c msrledec.c msvideo1.c ptx.c qdrw.c qtrle.c rl2.c rpza.c s3tc.c smc.c sunrast.c targa.c targaenc.c truespeech.c txd.c vmdav.c vmnc.c vqavideo.c ws-snd1.c xan.c xiph.c xl.c zmbv.c zmbvenc.c
diffstat 40 files changed, 47 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/4xm.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/4xm.c	Sun Jan 11 22:19:48 2009 +0000
@@ -24,6 +24,7 @@
  * 4XM codec.
  */
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 #include "dsputil.h"
 #include "bitstream.h"
--- a/8bps.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/8bps.c	Sun Jan 11 22:19:48 2009 +0000
@@ -34,6 +34,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 
--- a/adxdec.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/adxdec.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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"
 
--- a/adxenc.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/adxenc.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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"
 
--- a/bytestream.h	Sun Jan 11 20:12:14 2009 +0000
+++ b/bytestream.h	Sun Jan 11 22:19:48 2009 +0000
@@ -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){\
--- a/cinepak.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/cinepak.c	Sun Jan 11 22:19:48 2009 +0000
@@ -34,6 +34,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 
--- a/dirac_parser.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/dirac_parser.c	Sun Jan 11 22:19:48 2009 +0000
@@ -27,6 +27,7 @@
  * @author Marco Gerards <marco@gnu.org>
  */
 
+#include "libavutil/intreadwrite.h"
 #include "parser.h"
 
 #define DIRAC_PARSE_INFO_PREFIX 0x42424344
--- a/dpcm.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/dpcm.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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 {
--- a/dsputil.h	Sun Jan 11 20:12:14 2009 +0000
+++ b/dsputil.h	Sun Jan 11 22:19:48 2009 +0000
@@ -30,6 +30,7 @@
 #ifndef AVCODEC_DSPUTIL_H
 #define AVCODEC_DSPUTIL_H
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 
--- a/dvdsub_parser.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/dvdsub_parser.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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 */
--- a/dxa.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/dxa.c	Sun Jan 11 22:19:48 2009 +0000
@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 #include <zlib.h>
--- a/eacmv.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/eacmv.c	Sun Jan 11 22:19:48 2009 +0000
@@ -28,6 +28,7 @@
  * http://wiki.multimedia.cx/index.php?title=Electronic_Arts_CMV
  */
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 typedef struct CmvContext {
--- a/flicvideo.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/flicvideo.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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
--- a/h264_mp4toannexb_bsf.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/h264_mp4toannexb_bsf.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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 {
--- a/mlp.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/mlp.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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] = {
--- a/mmvideo.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/mmvideo.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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
--- a/movsub_bsf.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/movsub_bsf.c	Sun Jan 11 22:19:48 2009 +0000
@@ -18,6 +18,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 
--- a/msrledec.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/msrledec.c	Sun Jan 11 22:19:48 2009 +0000
@@ -26,6 +26,7 @@
  *   http://www.multimedia.cx/msrle.txt
  */
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 #define FETCH_NEXT_STREAM_BYTE() \
--- a/msvideo1.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/msvideo1.c	Sun Jan 11 22:19:48 2009 +0000
@@ -35,6 +35,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 #define PALETTE_COUNT 256
--- a/ptx.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/ptx.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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 {
--- a/qdrw.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/qdrw.c	Sun Jan 11 22:19:48 2009 +0000
@@ -24,6 +24,7 @@
  * Apple QuickDraw codec.
  */
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 typedef struct QdrawContext{
--- a/qtrle.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/qtrle.c	Sun Jan 11 22:19:48 2009 +0000
@@ -36,6 +36,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 typedef struct QtrleContext {
--- a/rl2.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/rl2.c	Sun Jan 11 22:19:48 2009 +0000
@@ -32,6 +32,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 
--- a/rpza.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/rpza.c	Sun Jan 11 22:19:48 2009 +0000
@@ -39,6 +39,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 typedef struct RpzaContext {
--- a/s3tc.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/s3tc.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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"
 
--- a/smc.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/smc.c	Sun Jan 11 22:19:48 2009 +0000
@@ -33,6 +33,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 #define CPAIR 2
--- a/sunrast.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/sunrast.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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
--- a/targa.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/targa.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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{
--- a/targaenc.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/targaenc.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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"
 
--- a/truespeech.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/truespeech.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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"
--- a/txd.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/txd.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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"
 
--- a/vmdav.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/vmdav.c	Sun Jan 11 22:19:48 2009 +0000
@@ -44,6 +44,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 #define VMD_HEADER_SIZE 0x330
--- a/vmnc.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/vmnc.c	Sun Jan 11 22:19:48 2009 +0000
@@ -28,6 +28,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 enum EncTypes {
--- a/vqavideo.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/vqavideo.c	Sun Jan 11 22:19:48 2009 +0000
@@ -68,6 +68,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 #define PALETTE_COUNT 256
--- a/ws-snd1.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/ws-snd1.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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"
 
 /**
--- a/xan.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/xan.c	Sun Jan 11 22:19:48 2009 +0000
@@ -33,6 +33,7 @@
 #include <string.h>
 #include <unistd.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 typedef struct XanContext {
--- a/xiph.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/xiph.c	Sun Jan 11 22:19:48 2009 +0000
@@ -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,
--- a/xl.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/xl.c	Sun Jan 11 22:19:48 2009 +0000
@@ -24,6 +24,7 @@
  * Miro VideoXL codec.
  */
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 typedef struct VideoXLContext{
--- a/zmbv.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/zmbv.c	Sun Jan 11 22:19:48 2009 +0000
@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 #include <zlib.h>
--- a/zmbvenc.c	Sun Jan 11 20:12:14 2009 +0000
+++ b/zmbvenc.c	Sun Jan 11 22:19:48 2009 +0000
@@ -27,6 +27,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include "libavutil/intreadwrite.h"
 #include "avcodec.h"
 
 #include <zlib.h>