[FFmpeg-devel] [PATCH] flac demuxer: improve seeking

Rainer Hochecker rainer.hochecker at onlinehome.de
Mon Apr 14 16:12:14 CEST 2014

Rainer Hochecker <rainer.hochecker <at> onlinehome.de> writes:

> Yes, av_read_frame is not a good idea to use here. It does not give the
> exact starting position which is the reason the results are slightly
> different. Also the current parser sometimes returns eof after having set
> file pos to some arbitrary position.
> I think I need to write some function which syncs to starting point of a
> header/packet. 

I have updated the pull request on Github. The results are identical now
apart from negative return values which do not occur with read_timestamp. I
updated ref data for fate in a separate commit.

More information about the ffmpeg-devel mailing list