mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 18:55:08 +00:00
avfilter/af_extrastereo: Fix shadowed variable
Fixes CID1325675 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
e34ba5ec53
commit
d1c8368e40
@ -71,7 +71,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||
if (av_frame_is_writable(in)) {
|
||||
out = in;
|
||||
} else {
|
||||
AVFrame *out = ff_get_audio_buffer(inlink, in->nb_samples);
|
||||
out = ff_get_audio_buffer(inlink, in->nb_samples);
|
||||
if (!out) {
|
||||
av_frame_free(&in);
|
||||
return AVERROR(ENOMEM);
|
||||
|
Loading…
Reference in New Issue
Block a user