[FFmpeg-devel] [PATCH] fix seek in particular ASF file

Stefan Gehrer stefan.gehrer
Tue Nov 23 22:44:03 CET 2010


attached patch fixes seeking in a particular ASF file I have
but unfortunately can not share.
The ASF spec specifically mentions that non-standard
top-level objects as well as the 'Index Object' go between
the 'Data Object' and the 'Simple Index Object', but in contrast
in asf_build_simple_index the assumption seems to be that the
'Simple Index Object' follows immediately after the 'Data Object'.
The file I have has an 'Index Object' in that position which
is skipped with this patch, making the file seekable.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: asfdec_seekfix.patch
Type: text/x-diff
Size: 934 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101123/a3695abd/attachment.patch>

More information about the ffmpeg-devel mailing list