[FFmpeg-devel] [PATCH] ffprobe: make writer_print_integer support to long int values

Stefano Sabatini stefasab at gmail.com
Fri Nov 18 10:12:47 CET 2011


On date Wednesday 2011-11-16 18:59:32 +0100, Stefano Sabatini encoded:
> On date Wednesday 2011-11-16 07:39:12 +0100, Clément Bœsch encoded:
> > On Wed, Nov 16, 2011 at 12:43:59AM +0100, Stefano Sabatini wrote:
> > > This makes possible to use writer_print_integer for printing int64_t
> > > values.
> > 
> > Any reason not to use int64_t?
> > It can cause various issues; AFAIK Windows' long is 32 bit long for
> > instance, even in 64 bits. Maybe you wanted a "long long int"?
> 
> Yes I meant long long int, which is possibly more portable, but
> there's no compelling reason to prefer it to int64_t AFAIK, and long
> long int is required to contain int64_t (at least).
> 
> Up, I'll push it soon if no comments appear.
> -- 
> FFmpeg = Frenzy Free Mega Portentous Exuberant Guide

> From 96edc269a306fc964f5c988383ad59d19e3314e1 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Mon, 7 Nov 2011 15:58:41 +0100
> Subject: [PATCH] ffprobe: make writer_print_integer support long long int values
> 
> This makes possible to use writer_print_integer for printing int64_t
> values.
> ---
>  ffprobe.c |   21 +++++++++------------
>  1 files changed, 9 insertions(+), 12 deletions(-)

Applied.
-- 
FFmpeg = Fast and Formidable Multimedia Problematic Easy Goblin


More information about the ffmpeg-devel mailing list