changeset 4962:f99e40a7155b libavcodec

Remove redundant #inclusion of common.h, avcodec.h already #includes it.
author diego
date Thu, 10 May 2007 09:00:44 +0000
parents 3e8e345084cb
children 998956a12010
files 8bps.c aasc.c beosthread.c cinepak.c cook.c cscd.c cyuv.c dsicinav.c dsputil.h dxa.c error_resilience.c ffv1.c flashsv.c flashsvenc.c flicvideo.c g726.c h261.c huffyuv.c idcinvideo.c indeo3.c interplayvideo.c kmvc.c lcl.c loco.c msrle.c msvideo1.c nuv.c os2thread.c pthread.c qtrle.c rangecoder.c resample2.c roqvideo.c rpza.c smacker.c smc.c snow.c svq1.c tiertexseqv.c truemotion1.c truemotion2.c tscc.c ulti.c vc1.c vmdav.c vmnc.c vp3.c vp3dsp.c vqavideo.c w32thread.c wnv1.c xan.c xvidff.c zmbv.c zmbvenc.c
diffstat 55 files changed, 3 insertions(+), 58 deletions(-) [+]
line wrap: on
line diff
--- a/8bps.c	Thu May 10 03:13:41 2007 +0000
+++ b/8bps.c	Thu May 10 09:00:44 2007 +0000
@@ -35,7 +35,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 
--- a/aasc.c	Thu May 10 03:13:41 2007 +0000
+++ b/aasc.c	Thu May 10 09:00:44 2007 +0000
@@ -28,7 +28,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/beosthread.c	Thu May 10 03:13:41 2007 +0000
+++ b/beosthread.c	Thu May 10 09:00:44 2007 +0000
@@ -21,7 +21,6 @@
 //#define DEBUG
 
 #include "avcodec.h"
-#include "common.h"
 
 #include <OS.h>
 
--- a/cinepak.c	Thu May 10 03:13:41 2007 +0000
+++ b/cinepak.c	Thu May 10 09:00:44 2007 +0000
@@ -35,7 +35,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/cook.c	Thu May 10 03:13:41 2007 +0000
+++ b/cook.c	Thu May 10 09:00:44 2007 +0000
@@ -50,7 +50,6 @@
 #include "avcodec.h"
 #include "bitstream.h"
 #include "dsputil.h"
-#include "common.h"
 #include "bytestream.h"
 #include "random.h"
 
--- a/cscd.c	Thu May 10 03:13:41 2007 +0000
+++ b/cscd.c	Thu May 10 09:00:44 2007 +0000
@@ -21,7 +21,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #ifdef CONFIG_ZLIB
--- a/cyuv.c	Thu May 10 03:13:41 2007 +0000
+++ b/cyuv.c	Thu May 10 09:00:44 2007 +0000
@@ -35,7 +35,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 #include "mpegvideo.h"
--- a/dsicinav.c	Thu May 10 03:13:41 2007 +0000
+++ b/dsicinav.c	Thu May 10 09:00:44 2007 +0000
@@ -25,7 +25,6 @@
  */
 
 #include "avcodec.h"
-#include "common.h"
 
 
 typedef enum CinVideoBitmapIndex {
--- a/dsputil.h	Thu May 10 03:13:41 2007 +0000
+++ b/dsputil.h	Thu May 10 09:00:44 2007 +0000
@@ -30,7 +30,6 @@
 #ifndef DSPUTIL_H
 #define DSPUTIL_H
 
-#include "common.h"
 #include "avcodec.h"
 
 
--- a/dxa.c	Thu May 10 03:13:41 2007 +0000
+++ b/dxa.c	Thu May 10 09:00:44 2007 +0000
@@ -28,7 +28,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #include <zlib.h>
--- a/error_resilience.c	Thu May 10 03:13:41 2007 +0000
+++ b/error_resilience.c	Thu May 10 09:00:44 2007 +0000
@@ -30,7 +30,6 @@
 #include "avcodec.h"
 #include "dsputil.h"
 #include "mpegvideo.h"
-#include "common.h"
 
 static void decode_mb(MpegEncContext *s){
     s->dest[0] = s->current_picture.data[0] + (s->mb_y * 16* s->linesize  ) + s->mb_x * 16;
--- a/ffv1.c	Thu May 10 03:13:41 2007 +0000
+++ b/ffv1.c	Thu May 10 09:00:44 2007 +0000
@@ -26,9 +26,8 @@
  * FF Video Codec 1 (an experimental lossless codec)
  */
 
-#include "common.h"
+#include "avcodec.h"
 #include "bitstream.h"
-#include "avcodec.h"
 #include "dsputil.h"
 #include "rangecoder.h"
 #include "golomb.h"
--- a/flashsv.c	Thu May 10 03:13:41 2007 +0000
+++ b/flashsv.c	Thu May 10 09:00:44 2007 +0000
@@ -50,7 +50,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "bitstream.h"
 
--- a/flashsvenc.c	Thu May 10 03:13:41 2007 +0000
+++ b/flashsvenc.c	Thu May 10 09:00:44 2007 +0000
@@ -58,7 +58,6 @@
 #include <stdlib.h>
 #include <zlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "bitstream.h"
 #include "bytestream.h"
--- a/flicvideo.c	Thu May 10 03:13:41 2007 +0000
+++ b/flicvideo.c	Thu May 10 09:00:44 2007 +0000
@@ -41,7 +41,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "bswap.h"
 
--- a/g726.c	Thu May 10 03:13:41 2007 +0000
+++ b/g726.c	Thu May 10 09:00:44 2007 +0000
@@ -23,7 +23,6 @@
  */
 #include <limits.h>
 #include "avcodec.h"
-#include "common.h"
 #include "bitstream.h"
 
 /**
--- a/h261.c	Thu May 10 03:13:41 2007 +0000
+++ b/h261.c	Thu May 10 09:00:44 2007 +0000
@@ -25,7 +25,6 @@
  * h261codec.
  */
 
-#include "common.h"
 #include "dsputil.h"
 #include "avcodec.h"
 #include "mpegvideo.h"
--- a/huffyuv.c	Thu May 10 03:13:41 2007 +0000
+++ b/huffyuv.c	Thu May 10 09:00:44 2007 +0000
@@ -28,9 +28,8 @@
  * huffyuv codec for libavcodec.
  */
 
-#include "common.h"
+#include "avcodec.h"
 #include "bitstream.h"
-#include "avcodec.h"
 #include "dsputil.h"
 
 #define VLC_BITS 11
--- a/idcinvideo.c	Thu May 10 03:13:41 2007 +0000
+++ b/idcinvideo.c	Thu May 10 09:00:44 2007 +0000
@@ -50,7 +50,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/indeo3.c	Thu May 10 03:13:41 2007 +0000
+++ b/indeo3.c	Thu May 10 09:00:44 2007 +0000
@@ -24,7 +24,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 #include "mpegvideo.h"
--- a/interplayvideo.c	Thu May 10 03:13:41 2007 +0000
+++ b/interplayvideo.c	Thu May 10 09:00:44 2007 +0000
@@ -40,7 +40,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/kmvc.c	Thu May 10 03:13:41 2007 +0000
+++ b/kmvc.c	Thu May 10 09:00:44 2007 +0000
@@ -28,7 +28,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #define KMVC_KEYFRAME 0x80
--- a/lcl.c	Thu May 10 03:13:41 2007 +0000
+++ b/lcl.c	Thu May 10 09:00:44 2007 +0000
@@ -42,9 +42,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
+#include "avcodec.h"
 #include "bitstream.h"
-#include "avcodec.h"
 
 #ifdef CONFIG_ZLIB
 #include <zlib.h>
--- a/loco.c	Thu May 10 03:13:41 2007 +0000
+++ b/loco.c	Thu May 10 09:00:44 2007 +0000
@@ -26,7 +26,6 @@
  */
 
 #include "avcodec.h"
-#include "common.h"
 #include "bitstream.h"
 #include "golomb.h"
 
--- a/msrle.c	Thu May 10 03:13:41 2007 +0000
+++ b/msrle.c	Thu May 10 09:00:44 2007 +0000
@@ -36,7 +36,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/msvideo1.c	Thu May 10 03:13:41 2007 +0000
+++ b/msvideo1.c	Thu May 10 09:00:44 2007 +0000
@@ -36,7 +36,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/nuv.c	Thu May 10 03:13:41 2007 +0000
+++ b/nuv.c	Thu May 10 09:00:44 2007 +0000
@@ -21,7 +21,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #include "bswap.h"
--- a/os2thread.c	Thu May 10 03:13:41 2007 +0000
+++ b/os2thread.c	Thu May 10 09:00:44 2007 +0000
@@ -23,7 +23,6 @@
 // Ported by Vlad Stelmahovsky
 
 #include "avcodec.h"
-#include "common.h"
 
 #define INCL_DOS
 #define INCL_DOSERRORS
--- a/pthread.c	Thu May 10 03:13:41 2007 +0000
+++ b/pthread.c	Thu May 10 09:00:44 2007 +0000
@@ -25,7 +25,6 @@
 #include <pthread.h>
 
 #include "avcodec.h"
-#include "common.h"
 
 typedef int (action_t)(AVCodecContext *c, void *arg);
 
--- a/qtrle.c	Thu May 10 03:13:41 2007 +0000
+++ b/qtrle.c	Thu May 10 09:00:44 2007 +0000
@@ -37,7 +37,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/rangecoder.c	Thu May 10 03:13:41 2007 +0000
+++ b/rangecoder.c	Thu May 10 09:00:44 2007 +0000
@@ -35,7 +35,6 @@
 #include <string.h>
 
 #include "avcodec.h"
-#include "common.h"
 #include "rangecoder.h"
 
 
--- a/resample2.c	Thu May 10 03:13:41 2007 +0000
+++ b/resample2.c	Thu May 10 09:00:44 2007 +0000
@@ -27,7 +27,6 @@
  */
 
 #include "avcodec.h"
-#include "common.h"
 #include "dsputil.h"
 
 #ifndef CONFIG_RESAMPLE_HP
--- a/roqvideo.c	Thu May 10 03:13:41 2007 +0000
+++ b/roqvideo.c	Thu May 10 09:00:44 2007 +0000
@@ -31,7 +31,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/rpza.c	Thu May 10 03:13:41 2007 +0000
+++ b/rpza.c	Thu May 10 09:00:44 2007 +0000
@@ -40,7 +40,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/smacker.c	Thu May 10 03:13:41 2007 +0000
+++ b/smacker.c	Thu May 10 09:00:44 2007 +0000
@@ -32,7 +32,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #define ALT_BITSTREAM_READER_LE
--- a/smc.c	Thu May 10 03:13:41 2007 +0000
+++ b/smc.c	Thu May 10 09:00:44 2007 +0000
@@ -34,7 +34,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/snow.c	Thu May 10 03:13:41 2007 +0000
+++ b/snow.c	Thu May 10 09:00:44 2007 +0000
@@ -19,7 +19,6 @@
  */
 
 #include "avcodec.h"
-#include "common.h"
 #include "dsputil.h"
 #include "snow.h"
 
--- a/svq1.c	Thu May 10 03:13:41 2007 +0000
+++ b/svq1.c	Thu May 10 09:00:44 2007 +0000
@@ -41,7 +41,6 @@
 #include <unistd.h>
 #include <limits.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 #include "mpegvideo.h"
--- a/tiertexseqv.c	Thu May 10 03:13:41 2007 +0000
+++ b/tiertexseqv.c	Thu May 10 09:00:44 2007 +0000
@@ -25,7 +25,6 @@
  */
 
 #include "avcodec.h"
-#include "common.h"
 #define ALT_BITSTREAM_READER_LE
 #include "bitstream.h"
 
--- a/truemotion1.c	Thu May 10 03:13:41 2007 +0000
+++ b/truemotion1.c	Thu May 10 09:00:44 2007 +0000
@@ -34,7 +34,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/truemotion2.c	Thu May 10 03:13:41 2007 +0000
+++ b/truemotion2.c	Thu May 10 09:00:44 2007 +0000
@@ -26,7 +26,6 @@
  */
 
 #include "avcodec.h"
-#include "common.h"
 #include "bitstream.h"
 #include "dsputil.h"
 
--- a/tscc.c	Thu May 10 03:13:41 2007 +0000
+++ b/tscc.c	Thu May 10 09:00:44 2007 +0000
@@ -39,7 +39,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #ifdef CONFIG_ZLIB
--- a/ulti.c	Thu May 10 03:13:41 2007 +0000
+++ b/ulti.c	Thu May 10 09:00:44 2007 +0000
@@ -30,7 +30,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #include "ulti_cb.h"
--- a/vc1.c	Thu May 10 03:13:41 2007 +0000
+++ b/vc1.c	Thu May 10 09:00:44 2007 +0000
@@ -26,7 +26,6 @@
  * VC-1 and WMV3 decoder
  *
  */
-#include "common.h"
 #include "dsputil.h"
 #include "avcodec.h"
 #include "mpegvideo.h"
--- a/vmdav.c	Thu May 10 03:13:41 2007 +0000
+++ b/vmdav.c	Thu May 10 09:00:44 2007 +0000
@@ -45,7 +45,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/vmnc.c	Thu May 10 03:13:41 2007 +0000
+++ b/vmnc.c	Thu May 10 09:00:44 2007 +0000
@@ -29,7 +29,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 enum EncTypes {
--- a/vp3.c	Thu May 10 03:13:41 2007 +0000
+++ b/vp3.c	Thu May 10 09:00:44 2007 +0000
@@ -35,7 +35,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 #include "mpegvideo.h"
--- a/vp3dsp.c	Thu May 10 03:13:41 2007 +0000
+++ b/vp3dsp.c	Thu May 10 09:00:44 2007 +0000
@@ -24,7 +24,6 @@
  * source code.
  */
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/vqavideo.c	Thu May 10 03:13:41 2007 +0000
+++ b/vqavideo.c	Thu May 10 09:00:44 2007 +0000
@@ -69,7 +69,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 #include "dsputil.h"
 
--- a/w32thread.c	Thu May 10 03:13:41 2007 +0000
+++ b/w32thread.c	Thu May 10 09:00:44 2007 +0000
@@ -21,7 +21,6 @@
 //#define DEBUG
 
 #include "avcodec.h"
-#include "common.h"
 
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
--- a/wnv1.c	Thu May 10 03:13:41 2007 +0000
+++ b/wnv1.c	Thu May 10 09:00:44 2007 +0000
@@ -26,7 +26,6 @@
  */
 
 #include "avcodec.h"
-#include "common.h"
 #include "bitstream.h"
 
 
--- a/xan.c	Thu May 10 03:13:41 2007 +0000
+++ b/xan.c	Thu May 10 09:00:44 2007 +0000
@@ -34,7 +34,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 typedef struct XanContext {
--- a/xvidff.c	Thu May 10 03:13:41 2007 +0000
+++ b/xvidff.c	Thu May 10 09:00:44 2007 +0000
@@ -27,7 +27,6 @@
 
 #include <xvid.h>
 #include <unistd.h>
-#include "common.h"
 #include "avcodec.h"
 #include "xvid_internal.h"
 
--- a/zmbv.c	Thu May 10 03:13:41 2007 +0000
+++ b/zmbv.c	Thu May 10 09:00:44 2007 +0000
@@ -28,7 +28,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #ifdef CONFIG_ZLIB
--- a/zmbvenc.c	Thu May 10 03:13:41 2007 +0000
+++ b/zmbvenc.c	Thu May 10 09:00:44 2007 +0000
@@ -28,7 +28,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#include "common.h"
 #include "avcodec.h"
 
 #include <zlib.h>