Mercurial > libavcodec.hg
comparison vcr1.c @ 1419:a7a9df478e46 libavcodec
removed unused variable
author | bellard |
---|---|
date | Sun, 24 Aug 2003 22:28:41 +0000 |
parents | c93d893f6d2b |
children | 932d306bf1dc |
comparison
equal
deleted
inserted
replaced
1418:e6e43c68e19c | 1419:a7a9df478e46 |
---|---|
148 avctx->coded_frame= (AVFrame*)&a->picture; | 148 avctx->coded_frame= (AVFrame*)&a->picture; |
149 a->avctx= avctx; | 149 a->avctx= avctx; |
150 } | 150 } |
151 | 151 |
152 static int decode_init(AVCodecContext *avctx){ | 152 static int decode_init(AVCodecContext *avctx){ |
153 VCR1Context * const a = avctx->priv_data; | |
154 AVFrame *p= (AVFrame*)&a->picture; | |
155 int i; | |
156 | 153 |
157 common_init(avctx); | 154 common_init(avctx); |
158 | 155 |
159 avctx->pix_fmt= PIX_FMT_YUV410P; | 156 avctx->pix_fmt= PIX_FMT_YUV410P; |
160 | 157 |
161 return 0; | 158 return 0; |
162 } | 159 } |
163 | 160 |
164 static int encode_init(AVCodecContext *avctx){ | 161 static int encode_init(AVCodecContext *avctx){ |
165 VCR1Context * const a = avctx->priv_data; | |
166 int i; | |
167 | 162 |
168 common_init(avctx); | 163 common_init(avctx); |
169 | 164 |
170 return 0; | 165 return 0; |
171 } | 166 } |
172 | 167 |
173 static int decode_end(AVCodecContext *avctx){ | 168 static int decode_end(AVCodecContext *avctx){ |
174 VCR1Context * const a = avctx->priv_data; | |
175 | 169 |
176 avcodec_default_free_buffers(avctx); | 170 avcodec_default_free_buffers(avctx); |
177 | 171 |
178 return 0; | 172 return 0; |
179 } | 173 } |