On 7/9/2016 1:09 PM, James Almer wrote:
> On 7/9/2016 12:29 PM, Martin Vignali wrote:
>> +static int psd_probe(AVProbeData *p)
>> +{
>> + const uint8_t *b = p->buf;
>> +
>> + if (AV_RL32(b) == 1397768760)
>
> if (AV_RL32(b) == MKTAG('S','P','B','8'))
>
MKTAG('8','B','P','S'), sorry.
Also, this is mostly cosmetic, so if you prefer consistency write the
value in hex like in the other probe functions instead of using this
macro.
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel