[FFmpeg-devel] [RFC] Seeking in PVA files

Ivo ivop
Sun Jan 6 12:37:07 CET 2008


On Saturday 05 January 2008 21:20, Michael Niedermayer wrote:
> you should parse all streams and use av_add_index_entry() even if the
> specific stream hasnt been requested
>
> also cant more code be factored with pva_read_packet() ?
> this looks somewhat similar
> if so you might even avoid the need for some of the new functions

Here's a completely rewritten version. I reuse almost all of the read_packet 
code. The new code is 17 lines shorter and the compiled code is ~1kB 
smaller. Functionality is equivalent.

--Ivo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_pva_seek
Type: text/x-diff
Size: 6823 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080106/378b1d6e/attachment.diff>



More information about the ffmpeg-devel mailing list