diff options
author | Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> | 2015-02-28 23:15:39 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-01 02:37:56 +0100 |
commit | dcf19008a67f35ae817a7af65ce2625a82acb641 (patch) | |
tree | 22946cc1e5efbc40f959e3f0baf19c127a17dfe3 /libswscale | |
parent | 5cb6b53050e39ed3cf7dabcf3cd8198a934f9bd2 (diff) | |
download | ffmpeg-dcf19008a67f35ae817a7af65ce2625a82acb641.tar.gz |
avfilter/af_volume: fix precision=fixed and volume=0 case
When precision is fixed and volume is 0, filter_frame does not
perform any operation on the output buffer. This works if the
output buffer has been allocated and zeroed with ff_get_audio_buffer
but not if the input buffer is used as output buffer.
Fix this by not using the input buffer as output buffer if
precision is fixed and volume is 0.
Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
0 files changed, 0 insertions, 0 deletions