]> git.sesse.net Git - ffmpeg/commitdiff
Remove double ';'
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 1 Mar 2021 05:10:44 +0000 (06:10 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 1 Mar 2021 05:10:44 +0000 (06:10 +0100)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/cinepakenc.c
libavcodec/exr.c
libavcodec/imc.c
libavcodec/mobiclip.c
libavdevice/lavfi.c
libavfilter/af_aiir.c
libavfilter/vsrc_gradients.c
libavformat/movenc.c

index 9eaa972a9c5add6f44c3b292e1e6b26a4289b2af..4c9b96166001fdf07dee7634eeec1cd0f6dc4c4c 100644 (file)
@@ -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)))
index 640807cea9985feef6f301f513530796dafcc22b..b0b375ab2f12cd1342d976dd978b13c6efe1a246 100644 (file)
@@ -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));
                         }
                     }
                 }
index 0f6db8f70883ac1470ba6096dc740714406d388e..51e7c1b2e11b2338bac289314f4bb6f55535cce3 100644 (file)
@@ -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,
index a15091426a874e4815c7fca5fc7aba5111934cb4..e5c6617325c669b07f66f79d901addbd814fc5d6 100644 (file)
@@ -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)
index ff0be640b1295e05f4092f261f6aed8dc799a67f..94ad03268a9116a8d4ac129728395b7992b319e2 100644 (file)
@@ -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;
         }
     }
 
index f2e9d8e4e234fc948172b86092865efe82c85b75..0f4129cfa07d0954f3fde01ab99358c52cfc615a 100644 (file)
@@ -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;
index 895557396c18dbc729707f3e4e697d7756680c2e..b05ad5bf9a30a7773bf9e4c7cbfeaa076524e80c 100644 (file)
@@ -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;
index 8ac5c317b4b116b2b2538fb61d0769652241f41f..ccb97685646a5144c57338245b7c20e242c8d9b9 100644 (file)
@@ -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);