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

Benoit Fouet benoit.fouet
Thu May 10 11:37:56 CEST 2007


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? 
libavcodec/pcm.c:180
r8963

>  It smells like someone made a change without even
> building the code first.
>
>   

Ben
-- 
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list