From e7786959cc34d6cd5de0100ce102e21ebf99ab69 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 7 Feb 2016 22:26:13 +0100 Subject: [PATCH] avfilter/vaf_spectrumsynth: Move "break" up Fixes CID1351347 Reviewed-by: Paul B Mahol Signed-off-by: Michael Niedermayer --- libavfilter/vaf_spectrumsynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vaf_spectrumsynth.c b/libavfilter/vaf_spectrumsynth.c index ab9a69bd8f..ba14d8dc71 100644 --- a/libavfilter/vaf_spectrumsynth.c +++ b/libavfilter/vaf_spectrumsynth.c @@ -442,11 +442,11 @@ static int try_push_frames(AVFilterContext *ctx) case SCROLL: s->xpos = s->xend - 1; ret = try_push_frame(ctx, s->xpos); + break; case RSCROLL: s->xpos = 0; ret = try_push_frame(ctx, s->xpos); break; - break; case FULLFRAME: for (x = 0; x < s->xend; x++) { ret = try_push_frame(ctx, x);