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

Michael Niedermayer michaelni
Sun Jan 6 17:27:22 CET 2008


Hi

On Sun, Jan 06, 2008 at 12:37:07PM +0100, Ivo wrote:
> 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.

looks ok


[...]

> Index: libavformat/mpeg.c
[...]
> Index: libavformat/mpeg.h

still needs mans approval

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

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080106/2a558421/attachment.pgp>



More information about the ffmpeg-devel mailing list