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
209209 value_used = 1;
210210 } else if (!strcmp(key, "FPS")) {
211211 double d;
212− if (av_sscanf(value, "%f", &d) != 1)
212+ if (av_sscanf(value, "%lf", &d) != 1)
213213 return AVERROR_INVALIDDATA;
214214
215215 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