[FFmpeg-devel] [PATCH] Fix float-cast-overflow undefined behavior in matroskadec

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jan 19 02:02:06 EET 2018

2018-01-19 0:21 GMT+01:00 Nikolas Bowe <nbowe-at-google.com at ffmpeg.org>:

> +                  av_log(matroska->ctx, AV_LOG_WARNING,
> +                         "Invalid frame rate %e. Cannot calculate default duration.\n",
> +                         track->video.frame_rate);

We currently have one ocurence of "%e" in the whole codebase
and it is usually not compiled: Can you use %f here or would that
be a disadvantage?

Carl Eugen

More information about the ffmpeg-devel mailing list