[FFmpeg-devel] [PATCH] fftools/opt_common: remove dead code in print_buildconf()

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Mar 13 00:57:54 EET 2024


Marth64:
>> The code block changes str and str is later accessed (via splitconf).
> Sorry, for the lack of awareness, but I am confused how.
> strstr() shouldn't modify the string right?
> The only change I see is in the unused remove_tilde[]
> 

No, but strstr() returns a pointer pointing into the string
that is used to modify str.

- Andreas



More information about the ffmpeg-devel mailing list