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

Clément Bœsch u at pkh.me
Fri Aug 21 08:06:05 CEST 2015


On Thu, Aug 20, 2015 at 10:17:15PM -0400, Ganesh Ajjanagadde wrote:
> On Thu, Aug 20, 2015 at 10:03 PM, Ganesh Ajjanagadde
> <gajjanagadde at gmail.com> wrote:
> > On Thu, Aug 20, 2015 at 9:29 PM, Timothy Gu <timothygu99 at gmail.com> wrote:
> >> 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.
> >
> > You are right. Thanks, will post updated patch.
> 
> So I used PRId64 instead of PRIi64.
> Is there an issue with that?
> 

I don't think so

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150821/c178b7eb/attachment.sig>


More information about the ffmpeg-devel mailing list