comparison wav.c @ 3484:31a0f3b99ef7 libavformat

remove useless close funcs
author bcoudurier
date Thu, 19 Jun 2008 23:25:04 +0000
parents 7a0230981402
children f062deeedb8d
comparison
equal deleted inserted replaced
3483:e85a3d8478c1 3484:31a0f3b99ef7
233 packet */ 233 packet */
234 pkt->size = ret; 234 pkt->size = ret;
235 return ret; 235 return ret;
236 } 236 }
237 237
238 static int wav_read_close(AVFormatContext *s)
239 {
240 return 0;
241 }
242
243 static int wav_read_seek(AVFormatContext *s, 238 static int wav_read_seek(AVFormatContext *s,
244 int stream_index, int64_t timestamp, int flags) 239 int stream_index, int64_t timestamp, int flags)
245 { 240 {
246 AVStream *st; 241 AVStream *st;
247 242
265 NULL_IF_CONFIG_SMALL("WAV format"), 260 NULL_IF_CONFIG_SMALL("WAV format"),
266 sizeof(WAVContext), 261 sizeof(WAVContext),
267 wav_probe, 262 wav_probe,
268 wav_read_header, 263 wav_read_header,
269 wav_read_packet, 264 wav_read_packet,
270 wav_read_close, 265 NULL,
271 wav_read_seek, 266 wav_read_seek,
272 .flags= AVFMT_GENERIC_INDEX, 267 .flags= AVFMT_GENERIC_INDEX,
273 .codec_tag= (const AVCodecTag*[]){codec_wav_tags, 0}, 268 .codec_tag= (const AVCodecTag*[]){codec_wav_tags, 0},
274 }; 269 };
275 #endif 270 #endif