On Tue, May 24, 2011 at 03:37:29PM +0200, Diego Biurrun wrote:
> On Tue, May 24, 2011 at 02:14:42PM +0200, Anton Khirnov wrote:
> >
>
> Please update the log message to
>
> ape: Allow demuxing files with metadata tags.
>
> > --- a/libavformat/ape.c
> > +++ b/libavformat/ape.c
> > @@ -276,7 +276,7 @@ static int ape_read_header(AVFormatContext * s,
> > AVFormatParameters * ap)
> > ape->frames[0].nblocks = ape->blocksperframe;
> > ape->frames[0].skip = 0;
> > for (i = 1; i < ape->totalframes; i++) {
> > - ape->frames[i].pos = ape->seektable[i];
> > //ape->frames[i-1].pos + ape->blocksperframe;
> > + ape->frames[i].pos = ape->seektable[i] + ape->junklength;
> > //ape->frames[i-1].pos + ape->blocksperframe;
> > ape->frames[i].nblocks = ape->blocksperframe;
> > ape->frames[i - 1].size = ape->frames[i].pos - ape->frames[i -
> > 1].pos;
> > ape->frames[i].skip = (ape->frames[i].pos -
> > ape->frames[0].pos) & 3;
>
> unrelated: What is this commented-out cruft about?
I doubt anybody remembers, I think it can be removed.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel