summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-01 06:10:44 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-01 06:10:44 +0100
commit0e645b98c66aafe32517b946a6484eb5579172d4 (patch)
tree228bd4cbd4d1584f5bc26b8b4a85f346135aa276
parent590f491b0aefe770876c09c09433c24fc21a1565 (diff)
Remove double ';'
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/cinepakenc.c2
-rw-r--r--libavcodec/exr.c2
-rw-r--r--libavcodec/imc.c2
-rw-r--r--libavcodec/mobiclip.c2
-rw-r--r--libavdevice/lavfi.c4
-rw-r--r--libavfilter/af_aiir.c2
-rw-r--r--libavfilter/vsrc_gradients.c4
-rw-r--r--libavformat/movenc.c2
8 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c
index 9eaa972a9c..4c9b961660 100644
--- a/libavcodec/cinepakenc.c
+++ b/libavcodec/cinepakenc.c
@@ -182,7 +182,7 @@ static av_cold int cinepak_encode_init(AVCodecContext *avctx)
return AVERROR(ENOMEM);
if (!(s->codebook_closest = av_malloc_array((avctx->width * avctx->height) >> 2, sizeof(*s->codebook_closest))))
- return AVERROR(ENOMEM);;
+ return AVERROR(ENOMEM);
for (x = 0; x < (avctx->pix_fmt == AV_PIX_FMT_RGB24 ? 4 : 3); x++)
if (!(s->pict_bufs[x] = av_malloc((avctx->pix_fmt == AV_PIX_FMT_RGB24 ? 6 : 4) * (avctx->width * avctx->height) >> 2)))
diff --git a/libavcodec/exr.c b/libavcodec/exr.c
index 640807cea9..b0b375ab2f 100644
--- a/libavcodec/exr.c
+++ b/libavcodec/exr.c
@@ -1151,7 +1151,7 @@ static int decode_block(AVCodecContext *avctx, void *tdata,
}
} else {
for (x = 0; x < xsize; x++) {
- *ptr_x++ = exr_half2float(bytestream_get_le16(&src));;
+ *ptr_x++ = exr_half2float(bytestream_get_le16(&src));
}
}
}
diff --git a/libavcodec/imc.c b/libavcodec/imc.c
index 0f6db8f708..51e7c1b2e1 100644
--- a/libavcodec/imc.c
+++ b/libavcodec/imc.c
@@ -180,7 +180,7 @@ static av_cold void imc_init_static(void)
for (int i = 0, offset = 0; i < 4 ; i++) {
for (int j = 0; j < 4; j++) {
huffman_vlc[i][j].table = &vlc_tables[offset];
- huffman_vlc[i][j].table_allocated = VLC_TABLES_SIZE - offset;;
+ huffman_vlc[i][j].table_allocated = VLC_TABLES_SIZE - offset;
ff_init_vlc_from_lengths(&huffman_vlc[i][j], IMC_VLC_BITS, imc_huffman_sizes[i],
imc_huffman_lens[i][j], 1,
imc_huffman_syms[i][j], 1, 1,
diff --git a/libavcodec/mobiclip.c b/libavcodec/mobiclip.c
index a15091426a..e5c6617325 100644
--- a/libavcodec/mobiclip.c
+++ b/libavcodec/mobiclip.c
@@ -544,7 +544,7 @@ static uint8_t half(int a, int b)
static uint8_t half3(int a, int b, int c)
{
- return ((a + b + b + c) * 2 / 4 + 1) / 2;;
+ return ((a + b + b + c) * 2 / 4 + 1) / 2;
}
static uint8_t pick_above(BlockXY bxy)
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index ff0be640b1..94ad03268a 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -440,7 +440,7 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt)
size = frame->nb_samples * av_get_bytes_per_sample(frame->format) *
frame->channels;
if ((ret = av_new_packet(pkt, size)) < 0)
- goto fail;;
+ goto fail;
memcpy(pkt->data, frame->data[0], size);
}
@@ -456,7 +456,7 @@ static int lavfi_read_packet(AVFormatContext *avctx, AVPacket *pkt)
if ((ret = av_packet_add_side_data(pkt, AV_PKT_DATA_STRINGS_METADATA,
metadata, size)) < 0) {
av_freep(&metadata);
- goto fail;;
+ goto fail;
}
}
diff --git a/libavfilter/af_aiir.c b/libavfilter/af_aiir.c
index f2e9d8e4e2..0f4129cfa0 100644
--- a/libavfilter/af_aiir.c
+++ b/libavfilter/af_aiir.c
@@ -966,7 +966,7 @@ static double coef_sf2zf(double *a, int N, int n)
for (int k = FFMAX(n - N + i, 0); k <= FFMIN(i, n); k++) {
acc += ((fact(i) * fact(N - i)) /
(fact(k) * fact(i - k) * fact(n - k) * fact(N - i - n + k))) *
- ((k & 1) ? -1. : 1.);;
+ ((k & 1) ? -1. : 1.);
}
z += a[i] * pow(2., i) * acc;
diff --git a/libavfilter/vsrc_gradients.c b/libavfilter/vsrc_gradients.c
index 895557396c..b05ad5bf9a 100644
--- a/libavfilter/vsrc_gradients.c
+++ b/libavfilter/vsrc_gradients.c
@@ -187,7 +187,7 @@ static int draw_gradients_slice(AVFilterContext *ctx, void *arg, int job, int nb
for (int y = start; y < end; y++) {
for (int x = 0; x < width; x++) {
float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y);
- dst[x] = lerp_colors(s->color_rgba, s->nb_colors, factor);;
+ dst[x] = lerp_colors(s->color_rgba, s->nb_colors, factor);
}
dst += linesize;
@@ -210,7 +210,7 @@ static int draw_gradients_slice16(AVFilterContext *ctx, void *arg, int job, int
for (int y = start; y < end; y++) {
for (int x = 0; x < width; x++) {
float factor = project(s->fx0, s->fy0, s->fx1, s->fy1, x, y);
- dst[x] = lerp_colors16(s->color_rgba, s->nb_colors, factor);;
+ dst[x] = lerp_colors16(s->color_rgba, s->nb_colors, factor);
}
dst += linesize;
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 8ac5c317b4..ccb9768564 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -2258,7 +2258,7 @@ static int mov_write_video_tag(AVFormatContext *s, AVIOContext *pb, MOVMuxContex
AVStereo3D* stereo_3d = (AVStereo3D*) av_stream_get_side_data(track->st, AV_PKT_DATA_STEREO3D, NULL);
AVSphericalMapping* spherical_mapping = (AVSphericalMapping*)av_stream_get_side_data(track->st, AV_PKT_DATA_SPHERICAL, NULL);
AVDOVIDecoderConfigurationRecord *dovi = (AVDOVIDecoderConfigurationRecord *)
- av_stream_get_side_data(track->st, AV_PKT_DATA_DOVI_CONF, NULL);;
+ av_stream_get_side_data(track->st, AV_PKT_DATA_DOVI_CONF, NULL);
if (stereo_3d)
mov_write_st3d_tag(s, pb, stereo_3d);