summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2022-12-03 15:12:43 -0800
committerPhilip Langdale <github.philipl@overt.org>2022-12-24 09:55:37 -0800
commitcb15bc4324327bded956b2c9b78f09bdc2729d98 (patch)
treef6f129d880f62d61b75316e2736b71ebe93e9f4f /wscript
parent657fd2804c75fd4c838012ecbf5ce4536e4d487b (diff)
downloadmpv-cb15bc4324327bded956b2c9b78f09bdc2729d98.tar.bz2
mpv-cb15bc4324327bded956b2c9b78f09bdc2729d98.tar.xz
demux: replace deprecated usage of stack allocated AVPackets
In the previous change, I replaced the callsites that used `av_init_packet`, but there are a handful of places that use stack allocated packets with no initialisation. In one case, I just switched to heap allocation as it's only done once per stream at most. In the other case, I removed our usage of the AVPackets as a convenience mechanism to transfer data into a heap allocated packet. Instead, I inlined the data copying.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions