From a0ae4b7df9156edfa66804e1cd012c4ecc91db4f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 8 Dec 2019 00:20:11 +0100 Subject: [PATCH] Remove redundant ; Signed-off-by: Michael Niedermayer --- libavcodec/mpegvideo_parser.c | 2 +- libavfilter/af_axcorrelate.c | 4 ++-- libavfilter/vf_drawbox.c | 2 +- libavformat/dashdec.c | 2 +- libavformat/hlsenc.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c index 7a3c7abdb2..c02cd7f92f 100644 --- a/libavcodec/mpegvideo_parser.c +++ b/libavcodec/mpegvideo_parser.c @@ -154,7 +154,7 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s, break; } } - the_end: ; + the_end: if (set_dim_ret < 0) av_log(avctx, AV_LOG_ERROR, "Failed to set dimensions\n"); diff --git a/libavfilter/af_axcorrelate.c b/libavfilter/af_axcorrelate.c index 861903b0f1..6e9a028716 100644 --- a/libavfilter/af_axcorrelate.c +++ b/libavfilter/af_axcorrelate.c @@ -238,11 +238,11 @@ static int activate(AVFilterContext *ctx) ret = av_audio_fifo_peek(s->fifo[0], (void **)s->cache[0]->extended_data, available); if (ret < 0) - return ret;; + return ret; ret = av_audio_fifo_peek(s->fifo[1], (void **)s->cache[1]->extended_data, available); if (ret < 0) - return ret;; + return ret; out = ff_get_audio_buffer(ctx->outputs[0], out_samples); if (!out) diff --git a/libavfilter/vf_drawbox.c b/libavfilter/vf_drawbox.c index d71e3af397..2750048bcd 100644 --- a/libavfilter/vf_drawbox.c +++ b/libavfilter/vf_drawbox.c @@ -292,7 +292,7 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar ret = init(ctx); if (ret < 0) goto end; - ret = config_input(inlink);; + ret = config_input(inlink); end: if (ret < 0) { s->x = old_x; diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index d001c5b76d..72ba9605f0 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1934,7 +1934,7 @@ static int reopen_demux_for_component(AVFormatContext *s, struct representation goto fail; pls->ctx->flags = AVFMT_FLAG_CUSTOM_IO; - pls->ctx->probesize = s->probesize > 0 ? s->probesize : 1024 * 4;; + pls->ctx->probesize = s->probesize > 0 ? s->probesize : 1024 * 4; pls->ctx->max_analyze_duration = s->max_analyze_duration > 0 ? s->max_analyze_duration : 4 * AV_TIME_BASE; ret = av_probe_input_buffer(&pls->pb, &in_fmt, "", NULL, 0, 0); if (ret < 0) { diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 043438368e..fc53c9d654 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -475,7 +475,7 @@ static int flush_dynbuf(VariantStream *vs, int *range_length) static void reflush_dynbuf(VariantStream *vs, int *range_length) { // re-open buffer - avio_write(vs->out, vs->temp_buffer, *range_length);; + avio_write(vs->out, vs->temp_buffer, *range_length); } #if HAVE_DOS_PATHS