History

avformat/vivo: fix sscanf specifer for double

Kacper Michajłow committed 1 year ago

Commit a9b96361 parent c6ea6ac1 file · +1 −1Browse files

Unified · Split

libavformat/vivo.c+1−1
@@ -209,7 +209,7 @@ static int vivo_read_header(AVFormatContext *s) · 208 unmodified lines
209 value_used = 1;209 value_used = 1;
210 } else if (!strcmp(key, "FPS")) {210 } else if (!strcmp(key, "FPS")) {
211 double d;211 double d;
212 if (av_sscanf(value, "%f", &d) != 1)212 if (av_sscanf(value, "%lf", &d) != 1)
213 return AVERROR_INVALIDDATA;213 return AVERROR_INVALIDDATA;
214 214
215 value_used = 1;215 value_used = 1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t