You've already forked FFmpeg
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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user