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

Function fps_from_frame_rate

libavutil/timecode.c:189–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189static int fps_from_frame_rate(AVRational rate)
190{
191 if (!rate.den || !rate.num)
192 return -1;
193 return (rate.num + rate.den/2LL) / rate.den;
194}
195
196int av_timecode_check_frame_rate(AVRational rate)
197{

Callers 3

av_timecode_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected