aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-21 11:53:10 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-21 12:47:48 +0200
commitc0b3c0ffb7e086f07ef40730018e8dbde8116986 (patch)
treef4711a1305a87ad3f86cdb35a522a33676b3a224
parent065851ffacd0c0c6fde6e52c5cba4160341db52a (diff)
downloadffmpeg-c0b3c0ffb7e086f07ef40730018e8dbde8116986.tar.gz
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]
-rw-r--r--libavfilter/audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/audio.c b/libavfilter/audio.c
index d473b99393..0a5248936a 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);