comparison cyuv.c @ 7979:5214daf6ce78 libavcodec

Remove useless cyuv_decode_end function
author reimar
date Thu, 02 Oct 2008 15:52:12 +0000
parents e943e1409077
children e9d9d946f213
comparison
equal deleted inserted replaced
7978:dc1a7a6ec58d 7979:5214daf6ce78
161 *(AVFrame*)data= s->frame; 161 *(AVFrame*)data= s->frame;
162 162
163 return buf_size; 163 return buf_size;
164 } 164 }
165 165
166 static av_cold int cyuv_decode_end(AVCodecContext *avctx)
167 {
168 /* CyuvDecodeContext *s = avctx->priv_data;*/
169
170 return 0;
171 }
172
173 AVCodec cyuv_decoder = { 166 AVCodec cyuv_decoder = {
174 "cyuv", 167 "cyuv",
175 CODEC_TYPE_VIDEO, 168 CODEC_TYPE_VIDEO,
176 CODEC_ID_CYUV, 169 CODEC_ID_CYUV,
177 sizeof(CyuvDecodeContext), 170 sizeof(CyuvDecodeContext),
178 cyuv_decode_init, 171 cyuv_decode_init,
179 NULL, 172 NULL,
180 cyuv_decode_end, 173 NULL,
181 cyuv_decode_frame, 174 cyuv_decode_frame,
182 CODEC_CAP_DR1, 175 CODEC_CAP_DR1,
183 NULL, 176 NULL,
184 .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"), 177 .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"),
185 }; 178 };