18 Sep
2024
18 Sep
'24
1:16 p.m.
On Wed Sep 18 13:15:47 2024 +0000, Emil Velikov wrote:
Assuming this is going to be a hot path, would it make sense to wrap sample->data instead of copying? Not sure if libav has API (flexible) for this though. Edit: at a glance it seems like av_packet_from_data() could work Maybe, but I don't think it matters so much here. It's just reading compressed samples here, so copy size stays relatively small.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6517#note_82539