comparison mmf.c @ 3436:ec4945b71d48 libavformat

Remove wrappers of pcm_read_seek(). Last commit missed one file.
author ramiro
date Fri, 06 Jun 2008 21:54:07 +0000
parents 7a0230981402
children 507108c26477
comparison
equal deleted inserted replaced
3435:a81155640306 3436:ec4945b71d48
293 static int mmf_read_close(AVFormatContext *s) 293 static int mmf_read_close(AVFormatContext *s)
294 { 294 {
295 return 0; 295 return 0;
296 } 296 }
297 297
298 static int mmf_read_seek(AVFormatContext *s,
299 int stream_index, int64_t timestamp, int flags)
300 {
301 return pcm_read_seek(s, stream_index, timestamp, flags);
302 }
303
304 #ifdef CONFIG_MMF_DEMUXER 298 #ifdef CONFIG_MMF_DEMUXER
305 AVInputFormat mmf_demuxer = { 299 AVInputFormat mmf_demuxer = {
306 "mmf", 300 "mmf",
307 NULL_IF_CONFIG_SMALL("mmf format"), 301 NULL_IF_CONFIG_SMALL("mmf format"),
308 sizeof(MMFContext), 302 sizeof(MMFContext),
309 mmf_probe, 303 mmf_probe,
310 mmf_read_header, 304 mmf_read_header,
311 mmf_read_packet, 305 mmf_read_packet,
312 mmf_read_close, 306 mmf_read_close,
313 mmf_read_seek, 307 pcm_read_seek,
314 }; 308 };
315 #endif 309 #endif
316 #ifdef CONFIG_MMF_MUXER 310 #ifdef CONFIG_MMF_MUXER
317 AVOutputFormat mmf_muxer = { 311 AVOutputFormat mmf_muxer = {
318 "mmf", 312 "mmf",