[Libav-user] Rewind file to start

wm4 nfxjfg at googlemail.com
Sat Aug 30 00:01:59 CEST 2014


On Fri, 29 Aug 2014 14:53:53 -0700
J Decker <d3ck0r at gmail.com> wrote:

> well we have to assume you also tries the SEEK_BYTE option addition to
> SEEK_BACKWARD
> 

Actually it's AVSEEK_FLAG_BYTE. You'd seek to byte position 0.

But this probably works for raw formats only, so be careful when you
want something that seeks to the start of a file with any format.
Seeking is hard.


More information about the Libav-user mailing list