avfilter/vaf_spectrumsynth: Move "break" up
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Feb 2016 21:26:13 +0000 (22:26 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Feb 2016 22:03:33 +0000 (23:03 +0100)
Fixes CID1351347

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vaf_spectrumsynth.c

index ab9a69b..ba14d8d 100644 (file)
@@ -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);