Diego Biurrun <[email protected]> writes:

> On Sat, Jan 28, 2012 at 06:34:12PM +0530, Aneesh Dogra wrote:
>> 
>> --- a/libavcodec/sunrast.c
>> +++ b/libavcodec/sunrast.c
>> @@ -23,6 +23,8 @@
>>  
>> +#define RAS_MAGIC 0x59a66a95
>> +
>> @@ -74,7 +76,7 @@ static int sunrast_decode_frame(AVCodecContext *avctx, 
>> void *data,
>>  
>> -    if (AV_RB32(buf) != 0x59a66a95) {
>> +    if (AV_RB32(buf) != RAS_MAGIC) {
>
> This is more of a plain define than a macro,

WTF is that supposed to mean?  The #define directive creates a macro.
That's the definition of a macro.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to