| 91 | } |
| 92 | |
| 93 | static char *time_value_string(char *buf, int buf_size, int64_t val, const AVRational *time_base) |
| 94 | { |
| 95 | if (val == AV_NOPTS_VALUE) { |
| 96 | snprintf(buf, buf_size, "N/A"); |
| 97 | } else { |
| 98 | value_string(buf, buf_size, val * av_q2d(*time_base), unit_second_str); |
| 99 | } |
| 100 | |
| 101 | return buf; |
| 102 | } |
| 103 | |
| 104 | static const char *media_type_string(enum AVMediaType media_type) |
| 105 | { |
no test coverage detected