[Ffmpeg-devel] [PATCH] TTA Seeking

Michael Niedermayer michaelni
Sat Apr 14 17:30:09 CEST 2007


Hi

On Sat, Apr 14, 2007 at 04:44:30PM +0200, Aurelien Jacobs wrote:
> On Fri, 13 Apr 2007 22:33:27 -0400
> David Conrad <umovimus at gmail.com> wrote:
> 
> > Hi,
> > 
> > The following patch adds support for seeking in TTA files.
> > 
> > -David
> > 
> > [...]
> > 
> > -static int tta_read_close(AVFormatContext *s)
> > +static int tta_read_seek(AVFormatContext *s, int stream_index,  
> > int64_t timestamp, int flags)
> > 
> > [...]
> > 
> > @@ -143,6 +140,7 @@
> >       tta_probe,
> >       tta_read_header,
> >       tta_read_packet,
> > -    tta_read_close,
> > +    NULL,
> 
> Removal of tta_read_close is not related to this patch. Thus it should
> go in a separate patch.

tta_read_close() freed seektable, now seektable is no longer needed as the
lavf index code is used

i agree that switching from seektable to the internal index code could
be a seperate patch from adding seeking support though IMHO i wouldnt 
call them unrelated 

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

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070414/da7e1fc4/attachment.pgp>



More information about the ffmpeg-devel mailing list