MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / check_fps

Function check_fps

libavutil/timecode.c:159–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159static int check_fps(int fps)
160{
161 int i;
162 static const int supported_fps[] = {
163 24, 25, 30, 48, 50, 60, 100, 120, 150,
164 };
165
166 for (i = 0; i < FF_ARRAY_ELEMS(supported_fps); i++)
167 if (fps == supported_fps[i])
168 return 0;
169 return -1;
170}
171
172static int check_timecode(void *log_ctx, AVTimecode *tc)
173{

Callers 2

check_timecodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected