summaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb_vis.c
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-04-06 07:44:03 +0200
committerJan Ekström <jeebjp@gmail.com>2021-04-08 23:47:35 +0300
commit3c34e6fec4b942c92313546cacd14be539cd951f (patch)
treeeefb62d083e5c6f4e759bc8f68b05465b94b6df3 /libswscale/yuv2rgb_vis.c
parent5117fa70afc0431e57231e216474a1f530094fd0 (diff)
downloadmpv-3c34e6fec4b942c92313546cacd14be539cd951f.tar.bz2
mpv-3c34e6fec4b942c92313546cacd14be539cd951f.tar.xz
audio/aframe: reuse data buffer if less than 8 channels
This fixes audio encoding crashing under ASan. When extended_data != data, FFmpeg copies more pointers from extended_data (= the number of channels) than there really are for non-planar formats (= exactly 1), but that's not our fault. Regardless, this commit makes it work in all common cases.
Diffstat (limited to 'libswscale/yuv2rgb_vis.c')
0 files changed, 0 insertions, 0 deletions