avformat/vivo: fix sscanf specifer for double
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
parent
c6ea6ac39b
commit
a9b9636046
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue