[Ffmpeg-cvslog] CVS: ffmpeg/libavformat tta.c, NONE, 1.1 Makefile, 1.121, 1.122 allformats.c, 1.57, 1.58 avformat.h, 1.141, 1.142
Michael Niedermayer
michaelni
Sat Mar 31 00:20:00 CEST 2007
Hi
On Sun, Feb 12, 2006 at 03:18:39AM +0100, Alex Beregszaszi wrote:
> Update of /cvsroot/ffmpeg/ffmpeg/libavformat
> In directory mail:/var2/tmp/cvs-serv22032
>
> Modified Files:
> Makefile allformats.c avformat.h
> Added Files:
> tta.c
> Log Message:
> tta demuxer, also usable for moving tta audio data into an other container
>
> --- NEW FILE: tta.c ---
[...]
> static int tta_read_header(AVFormatContext *s, AVFormatParameters *ap)
> {
> TTAContext *c = s->priv_data;
> AVStream *st;
> int i, channels, bps, samplerate, datalen, framelen, start;
>
> start = url_ftell(&s->pb);
[...]
> st->codec->extradata_size = url_ftell(&s->pb) - start;
> st->codec->extradata = av_mallocz(st->codec->extradata_size);
> url_fseek(&s->pb, start, SEEK_SET); // or SEEK_CUR and -size ? :)
> get_buffer(&s->pb, st->codec->extradata, st->codec->extradata_size);
what is this supposed to be?
passing the whole container header from positon 0 in the file _INCLUDING_
the whole frame index as extradata ?!
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- 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-cvslog/attachments/20070331/631dbf8e/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list