diff options
author | sfan5 <sfan5@live.de> | 2023-07-27 22:33:28 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-07-27 22:56:37 +0200 |
commit | 4c3ed843dc8bde419d8c08565159a83cee9e3b9b (patch) | |
tree | 9d6b6f67abb9d2c31f4f5a57539a37d987b9aaaa /filters/f_hwtransfer.h | |
parent | bb17d4483567a606ad1b494983a22cd3364e8888 (diff) | |
download | mpv-4c3ed843dc8bde419d8c08565159a83cee9e3b9b.tar.bz2 mpv-4c3ed843dc8bde419d8c08565159a83cee9e3b9b.tar.xz |
ad_spdif: fix segfault due to early deallocation
The avpkt was created once on decoder init but destroyed each time the
filter was destroyed, this obviously can't work. Move the packet alloc
to the filter init function instead.
fixes: 4574dd5dc6ff75b1fc693afceec59fbcd51ccd4c
Diffstat (limited to 'filters/f_hwtransfer.h')
0 files changed, 0 insertions, 0 deletions