[vlc-devel] [vlc-commits] stream_out: match exactly access/mux for warnings

Francois Cartegnie fcvlcdev at free.fr
Tue Sep 9 18:36:47 CEST 2014


Le 09/09/2014 17:56, Rafaël Carré a écrit :

>> +static bool exactMatch( const char *psz_target, const char *psz_string,
>> +                        size_t i_len )
>> +{
>> +    if ( strncmp( psz_target, psz_string, i_len ) )
>> +        return false;
>> +    else
>> +        return ( psz_target[i_len] < 'a' || psz_target[i_len] > 'z' );
> 
> psz_target[i_len] == '\0'

access{foo} mux{bar} and getMuxFromAlias() results.

> Else it won't work for "ts1" or "mp4XYZ"
> 
> In which case was this needed btw?
> 

mp4 != mp4stream

Francois



More information about the vlc-devel mailing list