vlc | branch: master | Lyndon Brown <jnq...@gmail.com> | Sun May 12 22:31:54 2019 +0100| [ae6af4007e7b957052ad88dee3af8958e31ca7f0] | committer: Rémi Denis-Courmont
afile: check equality, not starts with Signed-off-by: Rémi Denis-Courmont <r...@remlab.net> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ae6af4007e7b957052ad88dee3af8958e31ca7f0 --- modules/audio_output/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_output/file.c b/modules/audio_output/file.c index d87dbeab93..2cfe56de47 100644 --- a/modules/audio_output/file.c +++ b/modules/audio_output/file.c @@ -181,7 +181,7 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt ) i_format_list_size = (int)ARRAY_SIZE(format_list); for (i = 0; i < i_format_list_size; i++) { - if ( !strncmp( format_list[i], psz_format, strlen(format_list[i]) ) ) + if ( !strcmp( format_list[i], psz_format ) ) { break; } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits