global_headers = string(reinterpret_cast<const char *>(header->p_buffer), header->n_filled_len);
svt_av1_enc_stream_header_release(header); // Don't care about errors.
- }
+ }
}
void AV1Encoder::encoder_thread_func()
hdr.n_alloc_len = (global_flags.width * global_flags.height * 3 / 2) * bytes_per_pixel;
hdr.n_filled_len = hdr.n_alloc_len;
hdr.n_tick_count = 0;
- hdr.p_app_private = reinterpret_cast<void *>(intptr_t(qf.duration));
+ hdr.p_app_private = nullptr;
hdr.pic_type = EB_AV1_INVALID_PICTURE; // Actually means auto, according to FFmpeg.
hdr.metadata = nullptr;
hdr.flags = 0;