summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_lavcac3enc.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-07-31 18:45:05 +0200
committerwm4 <wm4@nowhere>2016-07-31 18:51:02 +0200
commit98af572484dca052a0dbf276ac782f68f6bfbf44 (patch)
tree42d7a19c8793df8d8c0baebc43d37e8d5956632b /audio/filter/af_lavcac3enc.c
parent5bcb22beea14bb48a84c610425d5693e0305e434 (diff)
downloadmpv-98af572484dca052a0dbf276ac782f68f6bfbf44.tar.bz2
mpv-98af572484dca052a0dbf276ac782f68f6bfbf44.tar.xz
audio: make mp_audio_realloc[_min] ensure frame is writeable
This is logical: the function makes sense only in situations where you are going to write to the audio data. To make it worse, av_buffer_realloc() also handles this situation, but only if the buffer size changes (simply because it can't realloc memory in use), so we have to explicitly force reallocation by unreffing the buffers first.
Diffstat (limited to 'audio/filter/af_lavcac3enc.c')
0 files changed, 0 insertions, 0 deletions