[FFmpeg-devel] [PATCH] avfilter/vaf_spectrumsynth: Move "break" up
Paul B Mahol
onemda at gmail.com
Sun Feb 7 22:37:20 CET 2016
On 2/7/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> 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
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
LGTM, silly mistake.
More information about the ffmpeg-devel
mailing list