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

Michael Niedermayer michaelni
Tue Nov 30 01:35:16 CET 2010


On Tue, Nov 23, 2010 at 10:44:03PM +0100, Stefan Gehrer wrote:
> Hi,
>
> 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.
>
> Stefan

>  asfdec.c |   15 ++++++++++++++-
>  1 file changed, 14 insertions(+), 1 deletion(-)
> ebc53d12b4cde282e6bfbe076120eed4dd048bda  asfdec_seekfix.patch

lgtm

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101130/3d5752ef/attachment.pgp>



More information about the ffmpeg-devel mailing list