aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_volume.c
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2018-09-17 19:16:44 +0800
committerZhong Li <zhong.li@intel.com>2018-10-11 13:26:59 +0800
commit681aa7d14f97fd98181ca6d61e11be48fe65692d (patch)
tree9254282b2ac8c7de0acddee9e49932c5291224f2 /libavfilter/af_volume.c
parenta5e1cb9e96bca091ed7103d8be72a99e7dc31582 (diff)
downloadffmpeg-681aa7d14f97fd98181ca6d61e11be48fe65692d.tar.gz
lavu/qsv: make a copy as libmfx alignment requirement for uploading
Libmfx requires 16 bytes aligned input/output for uploading. Currently only output is 16 byte aligned and assigning same width/height to input with smaller buffer size actually, thus definitely will cause segment fault. Can reproduce with any 1080p nv12 rawvideo input: ffmpeg -init_hw_device qsv=qsv:hw -hwaccel qsv -filter_hw_device qsv -f rawvideo -pix_fmt nv12 -s:v 1920x1080 -i 1080p_nv12.yuv -vf 'format=nv12,hwupload=extra_hw_frames=16,hwdownload,format=nv12' -an -y out_nv12.yuv It can fix #7418 Signed-off-by: Zhong Li <zhong.li@intel.com>
Diffstat (limited to 'libavfilter/af_volume.c')
0 files changed, 0 insertions, 0 deletions