comparison qdrw.c @ 6450:c32be43b52b2 libavcodec

remove more useless mpegvideo.h includes
author aurel
date Wed, 05 Mar 2008 00:43:11 +0000
parents 2ce4b47513a0
children 48759bfbd073
comparison
equal deleted inserted replaced
6449:208074826b34 6450:c32be43b52b2
23 * @file qdrw.c 23 * @file qdrw.c
24 * Apple QuickDraw codec. 24 * Apple QuickDraw codec.
25 */ 25 */
26 26
27 #include "avcodec.h" 27 #include "avcodec.h"
28 #include "mpegvideo.h"
29 28
30 typedef struct QdrawContext{ 29 typedef struct QdrawContext{
31 AVCodecContext *avctx; 30 AVCodecContext *avctx;
32 AVFrame pic; 31 AVFrame pic;
33 } QdrawContext; 32 } QdrawContext;
50 p->reference= 0; 49 p->reference= 0;
51 if(avctx->get_buffer(avctx, p) < 0){ 50 if(avctx->get_buffer(avctx, p) < 0){
52 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); 51 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
53 return -1; 52 return -1;
54 } 53 }
55 p->pict_type= I_TYPE; 54 p->pict_type= FF_I_TYPE;
56 p->key_frame= 1; 55 p->key_frame= 1;
57 56
58 outdata = a->pic.data[0]; 57 outdata = a->pic.data[0];
59 58
60 buf += 0x68; /* jump to palette */ 59 buf += 0x68; /* jump to palette */