| 129 | } |
| 130 | |
| 131 | char *av_timecode_make_smpte_tc_string2(char *buf, AVRational rate, uint32_t tcsmpte, int prevent_df, int skip_field) |
| 132 | { |
| 133 | unsigned hh, mm, ss, ff, drop; |
| 134 | ff_timecode_set_smpte(&drop, &hh, &mm, &ss, &ff, rate, tcsmpte, prevent_df, skip_field); |
| 135 | |
| 136 | snprintf(buf, AV_TIMECODE_STR_SIZE, "%02u:%02u:%02u%c%02u", |
| 137 | hh, mm, ss, drop ? ';' : ':', ff); |
| 138 | return buf; |
| 139 | |
| 140 | } |
| 141 | |
| 142 | char *av_timecode_make_smpte_tc_string(char *buf, uint32_t tcsmpte, int prevent_df) |
| 143 | { |
no test coverage detected