On 29/01/17 22:54, Henrik Gramner wrote: > On Sun, Jan 29, 2017 at 8:59 PM, Mark Thompson <s...@jkqxz.net> wrote: >> strncmp > > Any particular reason for not just using plain strcmp()?
That would change the semantics: 'memcmp(codec_name, "Sorenson H263", 13)' admits the possibility that the string is "Sorenson H263 and also some other stuff", but strcmp would disallow that. I'm not familiar enough with the code to declare whether that is intended, so I used strncmp to keep it identical (really I was only wanting to remove the valgrind warning which annoyed me). _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel