You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/af_extrastereo: fix filtering when clipping is disabled
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -90,9 +90,12 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||
right = average + mult * (right - average);
|
||||
|
||||
if (s->clip) {
|
||||
dst[n * 2 ] = av_clipf(left, -1, 1);
|
||||
dst[n * 2 + 1] = av_clipf(right, -1, 1);
|
||||
left = av_clipf(left, -1, 1);
|
||||
right = av_clipf(right, -1, 1);
|
||||
}
|
||||
|
||||
dst[n * 2 ] = left;
|
||||
dst[n * 2 + 1] = right;
|
||||
}
|
||||
|
||||
if (out != in)
|
||||
|
Reference in New Issue
Block a user