[Ffmpeg-cvslog] r7755 - trunk/libavcodec/cook.c

Michael Niedermayer michaelni
Mon Jan 29 22:51:27 CET 2007


Hi

On Mon, Jan 29, 2007 at 06:15:16PM +0100, Benjamin Larsson wrote:
> Michael Niedermayer wrote:
> 
> >>-            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);
> >...
> >  
> >
> 
> Should I add the functions to bytestream ? They are not there currently.

yes

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

The worst form of inequality is to try to make unequal things equal.
-- 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/27f4d35a/attachment.pgp>



More information about the ffmpeg-cvslog mailing list