diff options
author | Niklas Haas <git@haasn.dev> | 2021-12-13 13:26:34 +0100 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2021-12-14 21:25:02 +0100 |
commit | 0bb15c7a133a0c213f5098d54b37c5d79718b79e (patch) | |
tree | 75707969278a07122f173fbba335c7f064b4e143 /video/out | |
parent | 584ab29c88d6c5ffa03666bffbbc93e4f0740f67 (diff) | |
download | mpv-0bb15c7a133a0c213f5098d54b37c5d79718b79e.tar.bz2 mpv-0bb15c7a133a0c213f5098d54b37c5d79718b79e.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 'video/out')
0 files changed, 0 insertions, 0 deletions