[FFmpeg-devel] [PATCH] Fix sdp size check on fmtp integer parameters

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Mar 18 23:51:14 EET 2019


2019-03-18 16:08 GMT+01:00, Olivier Maignial <olivier.maignial at smile.fr>:

> +                    char * end_ptr = NULL;

Assuming you have to send a new patch anyway,
please make this "char *end_ptr"...

> +                    long int val = strtol(value, &end_ptr, 10);

> +                    if (value[0] == '\n' || end_ptr[0] != '\0')
> +                    {

... and merge these lines.

Thank you, Carl Eugen


More information about the ffmpeg-devel mailing list