[FFmpeg-devel] [RFC] Change fallthrough logic for read_seek to be based on return value

Joakim Plate elupus at ecce.se
Mon Sep 12 22:11:09 CEST 2011

This changes the logic for read_seek to only use generic seek
rutines if the return value is AVERROR(ENOSYS) to avoid retrying
seeks if the demuxer already realized it wasn't possible.

Before this goes in, all read_seek demuxer functions need to be
checked to see if they really want a retry with generic functions
on a failed seek in the demuxer read_seek.

The gxf change was really the only change needed to make fate pass. However
that change actually look wrong. So maybe fate should be updated there

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-fallthrough-logic-for-read_seek-to-be-based-o.patch
Type: text/x-patch
Size: 2538 bytes
Desc: Attached file: 0001-Change-fallthrough-logic-for-read_seek-to-be-based-o.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110912/fce98b73/attachment.bin>

More information about the ffmpeg-devel mailing list