1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avformat/vivo: fix sscanf specifer for double

Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
Kacper Michajłow
2025-07-22 20:51:57 +02:00
parent c6ea6ac39b
commit a9b9636046

View File

@ -209,7 +209,7 @@ static int vivo_read_header(AVFormatContext *s)
value_used = 1; value_used = 1;
} else if (!strcmp(key, "FPS")) { } else if (!strcmp(key, "FPS")) {
double d; double d;
if (av_sscanf(value, "%f", &d) != 1) if (av_sscanf(value, "%lf", &d) != 1)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
value_used = 1; value_used = 1;