[FFmpeg-cvslog] lavfi/audio: remove unused variable in ff_filter_samples()

Stefano Sabatini git at videolan.org
Thu Jun 21 12:49:03 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jun 21 11:53:10 2012 +0200| [c0b3c0ffb7e086f07ef40730018e8dbde8116986] | committer: Stefano Sabatini

lavfi/audio: remove unused variable in ff_filter_samples()

Fix warning:
libavfilter/audio.c: In function ‘ff_filter_samples’:
libavfilter/audio.c:193:13: warning: unused variable ‘size’ [-Wunused-variable]

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

 libavfilter/audio.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/audio.c b/libavfilter/audio.c
index d473b99..0a52489 100644
--- a/libavfilter/audio.c
+++ b/libavfilter/audio.c
@@ -190,7 +190,6 @@ void ff_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref)
     /* prepare to copy the samples if the buffer has insufficient permissions */
     if ((dst->min_perms & samplesref->perms) != dst->min_perms ||
         dst->rej_perms & samplesref->perms) {
-        int size;
         av_log(link->dst, AV_LOG_DEBUG,
                "Copying audio data in avfilter (have perms %x, need %x, reject %x)\n",
                samplesref->perms, link->dstpad->min_perms, link->dstpad->rej_perms);



More information about the ffmpeg-cvslog mailing list