| 157 | } |
| 158 | |
| 159 | static 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 | |
| 172 | static int check_timecode(void *log_ctx, AVTimecode *tc) |
| 173 | { |
no outgoing calls
no test coverage detected