diff options
author | Niklas Haas <git@haasn.dev> | 2021-12-13 13:26:34 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-12-19 15:58:12 +0100 |
commit | e7fbc86d58baffc2e9aa5967bf93c94c2cfca43a (patch) | |
tree | 128ae8095e076e5f6d2c64615c887184ef6df959 /osdep/subprocess-posix.c | |
parent | 85a45573698598bb4602ec248fa92f2d03fda162 (diff) | |
download | mpv-e7fbc86d58baffc2e9aa5967bf93c94c2cfca43a.tar.bz2 mpv-e7fbc86d58baffc2e9aa5967bf93c94c2cfca43a.tar.xz |
af_lavcac3enc: fix memory leak on no-op
Simply returning out of this function leaks avpkt, need to always "goto
done".
Rewrite the logic a bit to make it more clear what's going on (IMO).
Fixes #9593
Diffstat (limited to 'osdep/subprocess-posix.c')
0 files changed, 0 insertions, 0 deletions