[FFmpeg-devel] [PATCH] avfilter/vaf_spectrumsynth: Move "break" up
Michael Niedermayer
michael at niedermayer.cc
Sun Feb 7 22:35:53 CET 2016
Fixes CID1351347
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
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);
--
1.7.9.5
More information about the ffmpeg-devel
mailing list