summaryrefslogtreecommitdiff
path: root/libavcodec
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 /libavcodec
parent590f491b0aefe770876c09c09433c24fc21a1565 (diff)
Remove double ';'
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/cinepakenc.c2
-rw-r--r--libavcodec/exr.c2
-rw-r--r--libavcodec/imc.c2
-rw-r--r--libavcodec/mobiclip.c2
4 files changed, 4 insertions, 4 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)