avrdec: implement seeking

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol
2012-11-28 13:03:48 +00:00
parent 42d3fea65f
commit 23101ceaa2
2 changed files with 4 additions and 1 deletions

View File

@@ -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,
};