[FFmpeg-cvslog] avfilter/af_extrastereo: Fix shadowed variable

Michael Niedermayer git at videolan.org
Tue Oct 6 04:10:58 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Oct  6 03:16:24 2015 +0200| [d1c8368e403124aeea0e51607b11c199e8eaf0ff] | committer: Michael Niedermayer

avfilter/af_extrastereo: Fix shadowed variable

Fixes CID1325675

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d1c8368e403124aeea0e51607b11c199e8eaf0ff
---

 libavfilter/af_extrastereo.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_extrastereo.c b/libavfilter/af_extrastereo.c
index b4f8c85..020d09c 100644
--- a/libavfilter/af_extrastereo.c
+++ b/libavfilter/af_extrastereo.c
@@ -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);



More information about the ffmpeg-cvslog mailing list