diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-11-28 13:03:48 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-11-28 13:03:48 +0000 |
commit | 23101ceaa226f6ea22141a4d5fc167fed832074c (patch) | |
tree | 611defef264827ee5a489b730ac5475a4198e06d /libavformat/avr.c | |
parent | 42d3fea65f787eed356c47336c240edb7b0c879d (diff) | |
download | ffmpeg-23101ceaa226f6ea22141a4d5fc167fed832074c.tar.gz |
avrdec: implement seeking
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/avr.c')
-rw-r--r-- | libavformat/avr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/avr.c b/libavformat/avr.c index c73df96c7f..d3b23dbd59 100644 --- a/libavformat/avr.c +++ b/libavformat/avr.c @@ -23,6 +23,7 @@ #include "avformat.h" #include "internal.h" #include "rawdec.h" +#include "pcm.h" static int avr_probe(AVProbeData *p) { @@ -92,5 +93,7 @@ AVInputFormat ff_avr_demuxer = { .read_probe = avr_probe, .read_header = avr_read_header, .read_packet = ff_raw_read_partial_packet, + .read_seek = ff_pcm_read_seek, .extensions = "avr", + .flags = AVFMT_GENERIC_INDEX, }; |