summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2015-04-16 11:31:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-16 12:38:28 +0200
commit38155865df73627f7a7001acbc2243991e96463d (patch)
tree7ee7f88469f02537c758dfda088c6d92242d7c2c /libavfilter
parentb50a4ca179cf6e5d45b4ff68aff3003ebc47b2b4 (diff)
lavfi/avf_showcqt: fix error code.
Signed-off-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avf_showcqt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c
index e862dc7c1e..8c6ce1f58a 100644
--- a/libavfilter/avf_showcqt.c
+++ b/libavfilter/avf_showcqt.c
@@ -723,7 +723,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples)
s->fft_data[x] = s->fft_data[x+step];
s->remaining_fill += step;
}
- return AVERROR(EOF);
+ return AVERROR_EOF;
}
remaining = insamples->nb_samples;