changeset 6448:7fa807dd7958 libavcodec

remove #include "mpegvideo.h" where it is not needed
author aurel
date Wed, 05 Mar 2008 00:07:53 +0000
parents fe34160a1d1e
children 208074826b34
files asv1.c dnxhddec.c mjpegdec.c mjpegdec.h vp3.c vp5.c vp56.h vp6.c
diffstat 8 files changed, 6 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/asv1.c	Wed Mar 05 00:06:09 2008 +0000
+++ b/asv1.c	Wed Mar 05 00:07:53 2008 +0000
@@ -27,7 +27,7 @@
 #include "avcodec.h"
 #include "bitstream.h"
 #include "dsputil.h"
-#include "mpegvideo.h"
+#include "mpeg12data.h"
 
 //#undef NDEBUG
 //#include <assert.h>
@@ -402,7 +402,7 @@
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return -1;
     }
-    p->pict_type= I_TYPE;
+    p->pict_type= FF_I_TYPE;
     p->key_frame= 1;
 
     a->bitstream_buffer= av_fast_realloc(a->bitstream_buffer, &a->bitstream_buffer_size, buf_size + FF_INPUT_BUFFER_PADDING_SIZE);
@@ -476,7 +476,7 @@
     init_put_bits(&a->pb, buf, buf_size);
 
     *p = *pict;
-    p->pict_type= I_TYPE;
+    p->pict_type= FF_I_TYPE;
     p->key_frame= 1;
 
     for(mb_y=0; mb_y<a->mb_height2; mb_y++){
--- a/dnxhddec.c	Wed Mar 05 00:06:09 2008 +0000
+++ b/dnxhddec.c	Wed Mar 05 00:07:53 2008 +0000
@@ -26,7 +26,6 @@
 #include "bitstream.h"
 #include "dnxhddata.h"
 #include "dsputil.h"
-#include "mpegvideo.h"
 
 typedef struct {
     AVCodecContext *avctx;
--- a/mjpegdec.c	Wed Mar 05 00:06:09 2008 +0000
+++ b/mjpegdec.c	Wed Mar 05 00:07:53 2008 +0000
@@ -332,7 +332,7 @@
         av_log(s->avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return -1;
     }
-    s->picture.pict_type= I_TYPE;
+    s->picture.pict_type= FF_I_TYPE;
     s->picture.key_frame= 1;
 
     for(i=0; i<3; i++){
--- a/mjpegdec.h	Wed Mar 05 00:06:09 2008 +0000
+++ b/mjpegdec.h	Wed Mar 05 00:07:53 2008 +0000
@@ -32,7 +32,6 @@
 #include "avcodec.h"
 #include "bitstream.h"
 #include "dsputil.h"
-#include "mpegvideo.h"
 
 #define MAX_COMPONENTS 4
 
--- a/vp3.c	Wed Mar 05 00:06:09 2008 +0000
+++ b/vp3.c	Wed Mar 05 00:07:53 2008 +0000
@@ -36,7 +36,7 @@
 
 #include "avcodec.h"
 #include "dsputil.h"
-#include "mpegvideo.h"
+#include "bitstream.h"
 
 #include "vp3data.h"
 #include "xiph.h"
--- a/vp5.c	Wed Mar 05 00:06:09 2008 +0000
+++ b/vp5.c	Wed Mar 05 00:07:53 2008 +0000
@@ -27,7 +27,6 @@
 #include "avcodec.h"
 #include "dsputil.h"
 #include "bitstream.h"
-#include "mpegvideo.h"
 
 #include "vp56.h"
 #include "vp56data.h"
--- a/vp56.h	Wed Mar 05 00:06:09 2008 +0000
+++ b/vp56.h	Wed Mar 05 00:07:53 2008 +0000
@@ -26,7 +26,7 @@
 
 #include "vp56data.h"
 #include "dsputil.h"
-#include "mpegvideo.h"
+#include "bitstream.h"
 #include "bytestream.h"
 
 
--- a/vp6.c	Wed Mar 05 00:06:09 2008 +0000
+++ b/vp6.c	Wed Mar 05 00:07:53 2008 +0000
@@ -31,7 +31,6 @@
 #include "dsputil.h"
 #include "bitstream.h"
 #include "huffman.h"
-#include "mpegvideo.h"
 
 #include "vp56.h"
 #include "vp56data.h"