diff options
author | wm4 <wm4@nowhere> | 2016-07-31 18:45:05 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-07-31 18:51:02 +0200 |
commit | 98af572484dca052a0dbf276ac782f68f6bfbf44 (patch) | |
tree | 42d7a19c8793df8d8c0baebc43d37e8d5956632b /osdep/strnlen.h | |
parent | 5bcb22beea14bb48a84c610425d5693e0305e434 (diff) | |
download | mpv-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 'osdep/strnlen.h')
0 files changed, 0 insertions, 0 deletions