[FFmpeg-devel] [PATCH] ffserver: cast PID to int64_t before printing

Timothy Gu timothygu99 at gmail.com
Fri Aug 21 03:29:43 CEST 2015


On Thu, Aug 20, 2015 at 6:03 PM Ganesh Ajjanagadde <gajjanagadde at gmail.com>
wrote:

> -            avio_printf(pb, "Running as pid %d.\n", stream->pid);
> +            avio_printf(pb, "Running as pid %ld.\n", (int64_t)
> stream->pid);
>

You need `"%" PRIi64` as the format specifier.

Timothy


More information about the ffmpeg-devel mailing list