diff options
author | wm4 <wm4@nowhere> | 2016-07-31 18:47:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-31 18:51:05 +0200 |
commit | 48f60e182a61637a2c5d77839f0b174bb6fd7ccb (patch) | |
tree | c42a1a61954c84299cf2aaaac6933fe38fed624e /misc | |
parent | 98af572484dca052a0dbf276ac782f68f6bfbf44 (diff) | |
download | mpv-48f60e182a61637a2c5d77839f0b174bb6fd7ccb.tar.bz2 mpv-48f60e182a61637a2c5d77839f0b174bb6fd7ccb.tar.xz |
af_lavcac3enc: fix aspects of AVFrame handling
We send a refcounted frame to the encoder, but then disrespect
refcounting rules and write to the frame data without making sure the
buffer is really writeable.
In theory this can lead to reallocation on every frame is the encoder
really keeps a reference. If we really cared, we could fix this by
providing a buffer pool. But then again, we don't care.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions