summaryrefslogtreecommitdiff
path: root/libavcodec/cljr.c
diff options
context:
space:
mode:
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();