[FFmpeg-devel] [PATCH 1/3] avfilter/af_volume: fix precision=fixed and volume=0 case

Michael Niedermayer michaelni at gmx.at
Sun Mar 1 03:13:33 CET 2015

On Sat, Feb 28, 2015 at 11:15:39PM +0100, Gilles Chanteperdrix wrote:
> 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 at xenomai.org>



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150301/9789f1b9/attachment.asc>

More information about the ffmpeg-devel mailing list