comparison xl.c @ 6450:c32be43b52b2 libavcodec

remove more useless mpegvideo.h includes
author aurel
date Wed, 05 Mar 2008 00:43:11 +0000
parents 2100739c6a22
children 48759bfbd073
comparison
equal deleted inserted replaced
6449:208074826b34 6450:c32be43b52b2
23 * @file xl.c 23 * @file xl.c
24 * Miro VideoXL codec. 24 * Miro VideoXL codec.
25 */ 25 */
26 26
27 #include "avcodec.h" 27 #include "avcodec.h"
28 #include "mpegvideo.h"
29 28
30 typedef struct VideoXLContext{ 29 typedef struct VideoXLContext{
31 AVCodecContext *avctx; 30 AVCodecContext *avctx;
32 AVFrame pic; 31 AVFrame pic;
33 } VideoXLContext; 32 } VideoXLContext;
56 p->reference = 0; 55 p->reference = 0;
57 if(avctx->get_buffer(avctx, p) < 0){ 56 if(avctx->get_buffer(avctx, p) < 0){
58 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); 57 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
59 return -1; 58 return -1;
60 } 59 }
61 p->pict_type= I_TYPE; 60 p->pict_type= FF_I_TYPE;
62 p->key_frame= 1; 61 p->key_frame= 1;
63 62
64 Y = a->pic.data[0]; 63 Y = a->pic.data[0];
65 U = a->pic.data[1]; 64 U = a->pic.data[1];
66 V = a->pic.data[2]; 65 V = a->pic.data[2];