]> git.sesse.net Git - ffmpeg/commit
avformat/webmdashenc: Simplify parsing strings
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 18 May 2020 03:11:34 +0000 (05:11 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 23 May 2020 04:41:50 +0000 (06:41 +0200)
commitb2c0b3774ffe1f6ad878a017b023691f7043168c
tree3b719863f4ea28a3805d19cda563bd7ac7852367
parent1e689518d508b96f2a6a6f3bbbb43f00eaf87d01
avformat/webmdashenc: Simplify parsing strings

Don't use the functions for searching substrings when all one is
looking for is a char anyway. Given that there is already a standard
library function for "find last occurence of a char in a string" also
allows one to remove a custom loop.

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