[Ffmpeg-cvslog] r7755 - trunk/libavcodec/cook.c
Michael Niedermayer
michaelni
Mon Jan 29 17:06:37 CET 2007
Hi
On Mon, Jan 29, 2007 at 11:32:15AM +0100, banan wrote:
> Author: banan
> Date: Mon Jan 29 11:32:14 2007
> New Revision: 7755
>
> Modified:
> trunk/libavcodec/cook.c
>
> Log:
> Get rid of the COOKextradata struct. And use valid C to parse the extradata.
thanks
[...]
> - e->cookversion = be2me_32(e->cookversion);
> - e->samples_per_frame = be2me_16(e->samples_per_frame);
> - e->subbands = be2me_16(e->subbands);
> + q->cookversion = be2me_32(bytestream_get_le32(&edata_ptr));
> + q->samples_per_frame = be2me_16(bytestream_get_le16(&edata_ptr));
> + q->subbands = be2me_16(bytestream_get_le16(&edata_ptr));
this is wrong this should be
q->cookversion = bytestream_get_be32(&edata_ptr);
...
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- 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/20070129/2656819d/attachment.pgp>
More information about the ffmpeg-cvslog
mailing list