[FFmpeg-devel] [PATCH 4/5] avformat/argo_asf: add ff_argo_asf_read()

Zane van Iperen zane at zanevaniperen.com
Wed Sep 16 13:28:21 EEST 2020


On Wed, 16 Sep 2020 11:26:55 +0200
"Paul B Mahol" <onemda at gmail.com> wrote:

> > +    pkt->stream_index   = st->index;
> > +    pkt->duration       = ckhdr->num_samples * (ret / st->codecpar->block_align);
> > +    *blocks_read       += (ret / st->codecpar->block_align);
> 
> This line breaks seeking.
> 
> Ultimately you want to support seeking in demuxer(s).

This isn't a seekable format, each block depends on the previous.
There's nowhere to seek to other than the start.




More information about the ffmpeg-devel mailing list