On Wed, 16 Sep 2020 11:26:55 +0200
"Paul B Mahol" <one...@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.


_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to