]> git.sesse.net Git - ffmpeg/commit
avutil/spherical: Use av_strstart instead of strncmp
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 24 Feb 2021 02:37:26 +0000 (03:37 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 28 Feb 2021 16:14:21 +0000 (17:14 +0100)
commit514ee8770d937ffba8902386edc77d315408c536
treef89962f6bf02c8f6502c2347a603e3b98a8fd589
parent13e98f1dafd58b1703256ead6bc47858ce127a7f
avutil/spherical: Use av_strstart instead of strncmp

It makes the intent clearer and avoids calculating the length
separately.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavutil/spherical.c