Revision 933e90a6 libavformat/flvdec.c
libavformat/flvdec.c | ||
---|---|---|
28 | 28 |
#include "libavcodec/bytestream.h" |
29 | 29 |
#include "libavcodec/mpeg4audio.h" |
30 | 30 |
#include "avformat.h" |
31 |
#include "avio_internal.h" |
|
31 | 32 |
#include "flv.h" |
32 | 33 |
|
33 | 34 |
typedef struct { |
... | ... | |
461 | 462 |
static int flv_read_seek(AVFormatContext *s, int stream_index, |
462 | 463 |
int64_t ts, int flags) |
463 | 464 |
{ |
464 |
return av_url_read_fseek(s->pb, stream_index, ts, flags);
|
|
465 |
return ffio_read_seek(s->pb, stream_index, ts, flags);
|
|
465 | 466 |
} |
466 | 467 |
|
467 | 468 |
#if 0 /* don't know enough to implement this */ |
... | ... | |
482 | 483 |
ts = av_rescale_rnd(ts, 1000, AV_TIME_BASE, |
483 | 484 |
flags & AVSEEK_FLAG_BACKWARD ? AV_ROUND_DOWN : AV_ROUND_UP); |
484 | 485 |
} |
485 |
ret = av_url_read_fseek(s->pb, stream_index, ts, flags);
|
|
486 |
ret = ffio_read_seek(s->pb, stream_index, ts, flags);
|
|
486 | 487 |
} |
487 | 488 |
|
488 | 489 |
if (ret == AVERROR(ENOSYS)) |
Also available in: Unified diff