[FFmpeg-devel] [PATCH] avfilter: add "raw" modifier to print pts

Nicolas George george at nsup.org
Wed Sep 2 22:50:40 CEST 2015


Le sextidi 16 fructidor, an CCXXIII, Chema Gonzalez a écrit :
> +    } else if (!strcmp(fmt, "raw")) {
> +        av_bprintf(bp, "%ld", (long int) (s->var_values[VAR_T] * 90000));

On 32 bits archs, long is smaller than int64_t.

And that 90000 is only relevant for MPEG, AFAIK.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150902/ea29f448/attachment.sig>


More information about the ffmpeg-devel mailing list