>
> OK, the problem is not the lack of type information, but that it is not
> parsing the code at all.  What it doesn't like is:
>
> bad: #ifdef WORDS_BIGENDIAN
> bad:                         p_ftyp->data.p_ftyp->i_major_brand
> bad: #else
> BAD:!!!!!                         p_ftyp->data.p_ftyp->i_major_brand >> 24
> bad: #endif
>

and also this:

bad: vlc_module_begin ()
BAD:!!!!!     set_category( CAT_INPUT )
bad:     set_subcategory( SUBCAT_INPUT_DEMUX )
bad:     set_description( N_("MP4 stream demuxer") )
bad:     set_shortname( N_("MP4") )
bad:     set_capability( "demux", 240 )
bad:     set_callbacks( Open, Close )
bad: vlc_module_end ()

If I remove this two chunks of code it works well indeed :-)

Best Regards,

-- 
Frédéric
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to