On 01/08/14 01:32, wm4 wrote: > If the video stream is disabled (discard set to AVDISCARD_ALL), the code > for adding a seek index entry is skipped. This breaks seeking, and seek > requests will either skip to the start or end of the file. > > Fix this by adding the seek entry before skipping the packet. > --- > Not sure if this is entirely correct. Why would video index entries > matter for audio-only? Maybe the code should explicitly add index > entries for audio? Anyway, this patch fixes it.
For AV files your patch looks fine, I wonder what happens for audio-only on-demand-files though. Patch fine for me. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
