Browse Source

remove #include "mpegvideo.h" where it is not needed

Originally committed as revision 12321 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 17 years ago
parent
commit
d37f007d54
8 changed files with 6 additions and 10 deletions
  1. +3
    -3
      libavcodec/asv1.c
  2. +0
    -1
      libavcodec/dnxhddec.c
  3. +1
    -1
      libavcodec/mjpegdec.c
  4. +0
    -1
      libavcodec/mjpegdec.h
  5. +1
    -1
      libavcodec/vp3.c
  6. +0
    -1
      libavcodec/vp5.c
  7. +1
    -1
      libavcodec/vp56.h
  8. +0
    -1
      libavcodec/vp6.c

+ 3
- 3
libavcodec/asv1.c View File

@@ -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 @@ static int decode_frame(AVCodecContext *avctx,
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 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
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++){


+ 0
- 1
libavcodec/dnxhddec.c View File

@@ -26,7 +26,6 @@
#include "bitstream.h"
#include "dnxhddata.h"
#include "dsputil.h"
#include "mpegvideo.h"

typedef struct {
AVCodecContext *avctx;


+ 1
- 1
libavcodec/mjpegdec.c View File

@@ -332,7 +332,7 @@ int ff_mjpeg_decode_sof(MJpegDecodeContext *s)
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++){


+ 0
- 1
libavcodec/mjpegdec.h View File

@@ -32,7 +32,6 @@
#include "avcodec.h"
#include "bitstream.h"
#include "dsputil.h"
#include "mpegvideo.h"

#define MAX_COMPONENTS 4



+ 1
- 1
libavcodec/vp3.c View File

@@ -36,7 +36,7 @@

#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "bitstream.h"

#include "vp3data.h"
#include "xiph.h"


+ 0
- 1
libavcodec/vp5.c View File

@@ -27,7 +27,6 @@
#include "avcodec.h"
#include "dsputil.h"
#include "bitstream.h"
#include "mpegvideo.h"

#include "vp56.h"
#include "vp56data.h"


+ 1
- 1
libavcodec/vp56.h View File

@@ -26,7 +26,7 @@

#include "vp56data.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "bitstream.h"
#include "bytestream.h"




+ 0
- 1
libavcodec/vp6.c View File

@@ -31,7 +31,6 @@
#include "dsputil.h"
#include "bitstream.h"
#include "huffman.h"
#include "mpegvideo.h"

#include "vp56.h"
#include "vp56data.h"


Loading…
Cancel
Save