[vlc-devel] [PATCH 2/3] ogg: Add OggSpots video codec support

Francois Cartegnie fcvlcdev at free.fr
Mon Feb 29 15:18:08 CET 2016


Le 29/02/2016 15:13, Jean-Baptiste Kempf a écrit :
> On 28 Feb, Michael Tänzer wrote :
>> +                /* Check for OggSpots header */
>> +                else if( oggpacket.bytes >= 8 &&
>> +                         ! memcmp( oggpacket.packet, "SPOTS\0\0\0", 8 ) )
> 
> 9

That's three zero trailed. So:
memcmp( oggpacket.packet, "SPOTS\0\0", 8 )

Francois


More information about the vlc-devel mailing list