Mercurial > libavformat.hg
comparison wav.c @ 558:89bd76208427 libavformat
100l (forgoten seeking functions)
author | michael |
---|---|
date | Mon, 11 Oct 2004 23:53:53 +0000 |
parents | bc2751b2c189 |
children | d5925f47058d |
comparison
equal
deleted
inserted
replaced
557:084de726b4d0 | 558:89bd76208427 |
---|---|
342 { | 342 { |
343 return 0; | 343 return 0; |
344 } | 344 } |
345 | 345 |
346 static int wav_read_seek(AVFormatContext *s, | 346 static int wav_read_seek(AVFormatContext *s, |
347 int stream_index, int64_t timestamp) | 347 int stream_index, int64_t timestamp, int flags) |
348 { | 348 { |
349 AVStream *st; | 349 AVStream *st; |
350 | 350 |
351 st = s->streams[0]; | 351 st = s->streams[0]; |
352 switch(st->codec.codec_id) { | 352 switch(st->codec.codec_id) { |
357 /* use generic seeking with dynamically generated indexes */ | 357 /* use generic seeking with dynamically generated indexes */ |
358 return -1; | 358 return -1; |
359 default: | 359 default: |
360 break; | 360 break; |
361 } | 361 } |
362 return pcm_read_seek(s, stream_index, timestamp); | 362 return pcm_read_seek(s, stream_index, timestamp, flags); |
363 } | 363 } |
364 | 364 |
365 | 365 |
366 static AVInputFormat wav_iformat = { | 366 static AVInputFormat wav_iformat = { |
367 "wav", | 367 "wav", |