mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-05 14:30:00 +01:00
avformat/vivo: fix sscanf specifer for double
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
@@ -209,7 +209,7 @@ static int vivo_read_header(AVFormatContext *s)
|
||||
value_used = 1;
|
||||
} else if (!strcmp(key, "FPS")) {
|
||||
double d;
|
||||
if (av_sscanf(value, "%f", &d) != 1)
|
||||
if (av_sscanf(value, "%lf", &d) != 1)
|
||||
return AVERROR_INVALIDDATA;
|
||||
|
||||
value_used = 1;
|
||||
|
||||
Reference in New Issue
Block a user