summaryrefslogtreecommitdiff
path: root/libavcodec/cljr.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-03-05 00:43:11 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-03-05 00:43:11 +0000
commitfbd4293df9b0c9a1076da74b8e7a86cae6efdfe1 (patch)
tree62a8e8731210e359a6ac0ff3e4d1be79107b3ddd /libavcodec/cljr.c
parentcbcd6c8ca9bc9a36d990589c3a2bb7100b90ec3b (diff)
downloadffmpeg-fbd4293df9b0c9a1076da74b8e7a86cae6efdfe1.tar.gz
remove more useless mpegvideo.h includes
Originally committed as revision 12323 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cljr.c')
-rw-r--r--libavcodec/cljr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/cljr.c b/libavcodec/cljr.c
index 6b76411ac7..31bec631fd 100644
--- a/libavcodec/cljr.c
+++ b/libavcodec/cljr.c
@@ -25,7 +25,8 @@
*/
#include "avcodec.h"
-#include "mpegvideo.h"
+#include "dsputil.h"
+#include "bitstream.h"
typedef struct CLJRContext{
AVCodecContext *avctx;
@@ -52,7 +53,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;
init_get_bits(&a->gb, buf, buf_size);
@@ -89,7 +90,7 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
int mb_x, mb_y;
*p = *pict;
- p->pict_type= I_TYPE;
+ p->pict_type= FF_I_TYPE;
p->key_frame= 1;
emms_c();