Browse Source

Remove double ';'

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
tags/n4.4
Andreas Rheinhardt 5 years ago
parent
commit
0e645b98c6
8 changed files with 10 additions and 10 deletions
  1. +1
    -1
      libavcodec/cinepakenc.c
  2. +1
    -1
      libavcodec/exr.c
  3. +1
    -1
      libavcodec/imc.c
  4. +1
    -1
      libavcodec/mobiclip.c
  5. +2
    -2
      libavdevice/lavfi.c
  6. +1
    -1
      libavfilter/af_aiir.c
  7. +2
    -2
      libavfilter/vsrc_gradients.c
  8. +1
    -1
      libavformat/movenc.c

+ 1
- 1
libavcodec/cinepakenc.c View 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)))


+ 1
- 1
libavcodec/exr.c View 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));
}
}
}


+ 1
- 1
libavcodec/imc.c View 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,


+ 1
- 1
libavcodec/mobiclip.c View 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)


+ 2
- 2
libavdevice/lavfi.c View 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;
}
}



+ 1
- 1
libavfilter/af_aiir.c View 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;


+ 2
- 2
libavfilter/vsrc_gradients.c View 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;


+ 1
- 1
libavformat/movenc.c View 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);


Loading…
Cancel
Save