[FFmpeg-devel] [PATCH] make libavcodec use bytestream functions

Michael Niedermayer michaelni
Thu May 10 16:53:15 CEST 2007


Hi

On Thu, May 10, 2007 at 11:38:45AM -0300, Ramiro Ribeiro Polla wrote:
> M?ns Rullg?rd wrote:
> >Jindrich Makovicka wrote:
> >  
> >>On 5/10/07, Jindrich Makovicka <makovick at gmail.com> wrote:
> >>    
> >>>On 5/10/07, M?ns Rullg?rd <mans at mansr.com> wrote:
> >>>      
> >>>>Jindrich Makovicka <makovick at gmail.com> writes:
> >>>>        
> >>>>>intreadwrite.h needs fixing to compile here.
> >>>>>          
> >>>>OK.
> >>>>
> >>>>Out of interest, what compiler are you using, and what is the error
> >>>>message?
> >>>>        
> >>>i am away from the machine now, but it's gcc from Debian Sid (probably
> >>>4.1.2) complaining about the semicolon after the closing brace.
> >>>      
> >>more precisely, it complained about this piece of code:
> >>
> >>        if (le) AV_WL16(*dst, v);
> >>        else    AV_WB16(*dst, v);
> >>    
> >
> >Ah, that explains it.  That bit is invalid C with the braces as they are 
> >now.
> >Where is that code?
> 
> Should I fix this in pcm.c with attached patch or intreadwrite.h?

intreadwrite.h

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

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- 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/20070510/0bab4841/attachment.pgp>



More information about the ffmpeg-devel mailing list