[FFmpeg-cvslog] avfilter/vaf_spectrumsynth: Move "break" up

Michael Niedermayer git at videolan.org
Sun Feb 7 23:36:07 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Feb  7 22:26:13 2016 +0100| [e7786959cc34d6cd5de0100ce102e21ebf99ab69] | committer: Michael Niedermayer

avfilter/vaf_spectrumsynth: Move "break" up

Fixes CID1351347

Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 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 ab9a69b..ba14d8d 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);



More information about the ffmpeg-cvslog mailing list