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)))
}
} else {
for (x = 0; x < xsize; x++) {
- *ptr_x++ = exr_half2float(bytestream_get_le16(&src));;
+ *ptr_x++ = exr_half2float(bytestream_get_le16(&src));
}
}
}
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,
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)
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);
}
if ((ret = av_packet_add_side_data(pkt, AV_PKT_DATA_STRINGS_METADATA,
metadata, size)) < 0) {
av_freep(&metadata);
- goto fail;;
+ goto fail;
}
}
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;
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;
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;
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);