| 966 | } |
| 967 | |
| 968 | AVCPBProperties *av_cpb_properties_alloc(size_t *size) |
| 969 | { |
| 970 | AVCPBProperties *props = av_mallocz(sizeof(AVCPBProperties)); |
| 971 | if (!props) |
| 972 | return NULL; |
| 973 | |
| 974 | if (size) |
| 975 | *size = sizeof(*props); |
| 976 | |
| 977 | props->vbv_delay = UINT64_MAX; |
| 978 | |
| 979 | return props; |
| 980 | } |
| 981 | |
| 982 | int ff_alloc_timecode_sei(const AVFrame *frame, AVRational rate, size_t prefix_len, |
| 983 | void **data, size_t *sei_size) |
no test coverage detected