av_malloc 91 doc/examples/avio_reading.c avio_ctx_buffer = av_malloc(avio_ctx_buffer_size); av_malloc 120 doc/examples/hw_decode.c buffer = av_malloc(size); av_malloc 979 fftools/ffmpeg.c subtitle_out = av_malloc(subtitle_out_max_size); av_malloc 79 fftools/ffmpeg_hw.c name = av_malloc(index_pos + 4); av_malloc 2388 fftools/ffmpeg_opt.c !(attachment = av_malloc(len + AV_INPUT_BUFFER_PADDING_SIZE))) { av_malloc 435 fftools/ffplay.c pkt1 = av_malloc(sizeof(MyAVPacketList)); av_malloc 113 libavcodec/8svx.c if (!(esc->data[0] = av_malloc(chan_size))) av_malloc 116 libavcodec/8svx.c if (!(esc->data[1] = av_malloc(chan_size))) { av_malloc 229 libavcodec/a64multienc.c !(c->mc_best_cb = av_malloc(CHARSET_CHARS * 32 * sizeof(int))) || av_malloc 232 libavcodec/a64multienc.c !(c->mc_charset = av_malloc(0x800 * (INTERLACED+1) * sizeof(uint8_t)))) { av_malloc 330 libavcodec/aacdec.c avctx->extradata = av_malloc(esize + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 125 libavcodec/adpcmenc.c if (!(avctx->extradata = av_malloc(32 + AV_INPUT_BUFFER_PADDING_SIZE))) av_malloc 146 libavcodec/ass_split.c char *str = av_malloc(len + 1); av_malloc 31 libavcodec/assdec.c avctx->subtitle_header = av_malloc(avctx->extradata_size + 1); av_malloc 49 libavcodec/assdec.c sub->rects = av_malloc(sizeof(*sub->rects)); av_malloc 36 libavcodec/assenc.c avctx->extradata = av_malloc(avctx->subtitle_header_size + 1); av_malloc 142 libavcodec/audiotoolboxdec.c new_layout = av_malloc(*size); av_malloc 185 libavcodec/audiotoolboxdec.c AudioChannelLayout *layout = av_malloc(size); av_malloc 234 libavcodec/audiotoolboxdec.c if (!(extradata = av_malloc(*cookie_size))) av_malloc 389 libavcodec/audiotoolboxdec.c if(!(at->decoded_data = av_malloc(av_get_bytes_per_sample(avctx->sample_fmt) av_malloc 260 libavcodec/audiotoolboxenc.c AudioChannelLayout *channel_layout = av_malloc(layout_size); av_malloc 346 libavcodec/audiotoolboxenc.c AudioValueRange *ranges = av_malloc(size); av_malloc 60 libavcodec/avfft.c FFTContext *s = av_malloc(sizeof(*s)); av_malloc 97 libavcodec/avfft.c RDFTContext *s = av_malloc(sizeof(*s)); av_malloc 124 libavcodec/avfft.c DCTContext *s = av_malloc(sizeof(*s)); av_malloc 173 libavcodec/avpacket.c #define ALLOC_MALLOC(data, size) data = av_malloc(size) av_malloc 463 libavcodec/bgmc.c *cf_lut = av_malloc(sizeof(**cf_lut) * LUT_BUFF * 16 * LUT_SIZE); av_malloc 464 libavcodec/bgmc.c *cf_lut_status = av_malloc(sizeof(**cf_lut_status) * LUT_BUFF); av_malloc 127 libavcodec/binkaudio.c s->bands = av_malloc((s->num_bands + 1) * sizeof(*s->bands)); av_malloc 150 libavcodec/bitstream_filter.c *poutbuf = av_malloc(pkt.size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 388 libavcodec/cbs.c par->extradata = av_malloc(frag->data_size + av_malloc 204 libavcodec/cbs_jpeg.c data = av_malloc(end - start + av_malloc 188 libavcodec/cinepakenc.c if (!(s->pict_bufs[x] = av_malloc((avctx->pix_fmt == AV_PIX_FMT_RGB24 ? 6 : 4) * (avctx->width * avctx->height) >> 2))) av_malloc 201 libavcodec/cinepakenc.c if (!(s->strip_buf = av_malloc(strip_buf_size))) av_malloc 204 libavcodec/cinepakenc.c if (!(s->frame_buf = av_malloc(frame_buf_size))) av_malloc 150 libavcodec/cscd.c c->decomp_buf = av_malloc(c->decomp_size + AV_LZO_OUTPUT_PADDING); av_malloc 1073 libavcodec/dca_xll.c if (!s->pbr_buffer && !(s->pbr_buffer = av_malloc(DCA_XLL_PBR_BUFFER_MAX + AV_INPUT_BUFFER_PADDING_SIZE))) av_malloc 217 libavcodec/dcaadpcm.c s->private_data = av_malloc(sizeof(premultiplied_coeffs) * DCA_ADPCM_VQCODEBOOK_SZ); av_malloc 184 libavcodec/decode.c frame->extended_data = av_malloc(size); av_malloc 1844 libavcodec/diracdec.c ref->hpel_base[plane][i] = av_malloc((height+2*edge) * ref->avframe->linesize[plane] + 32); av_malloc 544 libavcodec/dnxhdenc.c ctx->thread[i] = av_malloc(sizeof(DNXHDEncContext)); av_malloc 47 libavcodec/dvbsub_parser.c pc->packet_buf = av_malloc(PARSE_BUF_SIZE); av_malloc 818 libavcodec/dvbsubdec.c rect->data[0] = av_malloc(region->buf_size); av_malloc 1076 libavcodec/dvbsubdec.c clut = av_malloc(sizeof(DVBSubCLUT)); av_malloc 1200 libavcodec/dvbsubdec.c region->pbuf = av_malloc(region->buf_size); av_malloc 1500 libavcodec/dvbsubdec.c pbuf = av_malloc(width * height * 4); av_malloc 64 libavcodec/dvdsub_parser.c pc->packet = av_malloc(pc->packet_len + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 381 libavcodec/dvdsubdec.c bitmap = sub_header->rects[0]->data[0] = av_malloc(w * h); av_malloc 493 libavcodec/dvdsubdec.c bitmap = av_malloc(w * h); av_malloc 697 libavcodec/dvdsubdec.c dataorig = data = av_malloc(avctx->extradata_size+1); av_malloc 344 libavcodec/dxa.c c->decomp_buf = av_malloc(c->dsize + DECOMP_BUF_PADDING); av_malloc 96 libavcodec/escape124.c cb.blocks = av_malloc(size ? size * sizeof(MacroBlock) : 1); av_malloc 127 libavcodec/escape130.c s->old_y_avg = av_malloc(avctx->width * avctx->height / 4); av_malloc 128 libavcodec/escape130.c s->buf1 = av_malloc(avctx->width * avctx->height * 3 / 2); av_malloc 129 libavcodec/escape130.c s->buf2 = av_malloc(avctx->width * avctx->height * 3 / 2); av_malloc 101 libavcodec/exif.c use_name = av_malloc(7); av_malloc 705 libavcodec/exr.c td->bitmap = av_malloc(BITMAP_SIZE); av_malloc 707 libavcodec/exr.c td->lut = av_malloc(1 << 17); av_malloc 101 libavcodec/extract_extradata_bsf.c extradata = av_malloc(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 196 libavcodec/extract_extradata_bsf.c extradata = av_malloc(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 252 libavcodec/extract_extradata_bsf.c *data = av_malloc(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 283 libavcodec/extract_extradata_bsf.c *data = av_malloc(*size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 313 libavcodec/extract_extradata_bsf.c *data = av_malloc(*size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 216 libavcodec/fft_template.c s->revtab = av_malloc(n * sizeof(uint16_t)); av_malloc 220 libavcodec/fft_template.c s->revtab32 = av_malloc(n * sizeof(uint32_t)); av_malloc 224 libavcodec/fft_template.c s->tmp_buf = av_malloc(n * sizeof(FFTComplex)); av_malloc 406 libavcodec/ffv1enc.c f->avctx->extradata = av_malloc(f->avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 328 libavcodec/ffwavesynth.c ws->sin = av_malloc(sizeof(*ws->sin) << SIN_BITS); av_malloc 425 libavcodec/flacenc.c streaminfo = av_malloc(FLAC_STREAMINFO_SIZE); av_malloc 486 libavcodec/flashsv.c s->keyframe = av_malloc(s->frame->linesize[0] * avctx->height); av_malloc 1072 libavcodec/g723_1enc.c start = in = av_malloc(frame->nb_samples * sizeof(int16_t)); av_malloc 398 libavcodec/gif.c s->buf = av_malloc(s->buf_size); av_malloc 399 libavcodec/gif.c s->tmpl = av_malloc(avctx->width); av_malloc 511 libavcodec/h264_metadata_bsf.c matrix = av_malloc(9 * sizeof(int32_t)); av_malloc 267 libavcodec/h264_sei.c user_data = av_malloc(size + 1); av_malloc 302 libavcodec/hapenc.c ctx->tex_buf = av_malloc(ctx->tex_size); av_malloc 487 libavcodec/hevcdec.c av_malloc((w * 2 * sps->ctb_height) << av_malloc 490 libavcodec/hevcdec.c av_malloc((h * 2 * sps->ctb_width) << av_malloc 2594 libavcodec/hevcdec.c s->sList[i] = av_malloc(sizeof(HEVCContext)); av_malloc 3362 libavcodec/hevcdec.c s->cabac_state = av_malloc(HEVC_CONTEXTS); av_malloc 63 libavcodec/huffyuv.c s->temp[i]= av_malloc(4*s->width + 16); av_malloc 302 libavcodec/iff.c s->mask_buf = av_malloc((s->planesize * 32) + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 310 libavcodec/iff.c s->mask_palbuf = av_malloc((2 << s->bpp) * sizeof(uint32_t) + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 340 libavcodec/iff.c s->ham_buf = av_malloc((s->planesize * 8) + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 345 libavcodec/iff.c s->ham_palbuf = av_malloc(extra_space * (ham_count << !!(s->masking == MASK_HAS_MASK)) * sizeof (uint32_t) + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 435 libavcodec/iff.c s->planebuf = av_malloc(s->planesize * avctx->height + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 203 libavcodec/indeo3.c ctx->planes[p].buffers[0] = av_malloc(!p ? luma_size : chroma_size); av_malloc 204 libavcodec/indeo3.c ctx->planes[p].buffers[1] = av_malloc(!p ? luma_size : chroma_size); av_malloc 944 libavcodec/j2kenc.c prec->cblk[cblkno].data = av_malloc(1 + 8192); av_malloc 288 libavcodec/jpeglsenc.c buf2 = av_malloc(pkt->size); av_malloc 589 libavcodec/lcldec.c if (!(c->decomp_buf = av_malloc(max_decomp_size))) { av_malloc 918 libavcodec/libaomenc.c av_malloc(sizeof(struct FrameListData)); av_malloc 926 libavcodec/libaomenc.c cx_frame->buf = av_malloc(cx_frame->sz); av_malloc 1018 libavcodec/libaomenc.c avctx->stats_out = av_malloc(b64_size); av_malloc 207 libavcodec/libdav1d.c uint8_t *reordered_opaque = av_malloc(sizeof(c->reordered_opaque)); av_malloc 274 libavcodec/libfdk-aacdec.c s->anc_buffer = av_malloc(DMX_ANC_BUFFSIZE); av_malloc 341 libavcodec/libfdk-aacdec.c s->decoder_buffer = av_malloc(s->decoder_buffer_size); av_malloc 394 libavcodec/libopusenc.c avctx->extradata = av_malloc(header_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 129 libavcodec/librav1e.c avctx->stats_out = av_malloc(b64_size); av_malloc 219 libavcodec/librav1e.c ctx->pass_data = av_malloc(ctx->pass_size); av_malloc 248 libavcodec/libspeexenc.c avctx->extradata = av_malloc(header_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 113 libavcodec/libtheoraenc.c avctx->stats_out = av_malloc(b64_size); av_malloc 138 libavcodec/libtheoraenc.c h->stats = av_malloc(h->stats_size); av_malloc 233 libavcodec/libvorbisenc.c p = avctx->extradata = av_malloc(avctx->extradata_size + av_malloc 1208 libavcodec/libvpxenc.c struct FrameListData *cx_frame = av_malloc(sizeof(*cx_frame)); av_malloc 1216 libavcodec/libvpxenc.c cx_frame->buf = av_malloc(cx_frame->sz); av_malloc 1227 libavcodec/libvpxenc.c cx_frame->buf_alpha = av_malloc(cx_frame->sz_alpha); av_malloc 1606 libavcodec/libvpxenc.c avctx->stats_out = av_malloc(b64_size); av_malloc 99 libavcodec/libwebpenc_common.c *pic_ptr = av_malloc(sizeof(*pic)); av_malloc 939 libavcodec/libx264.c x4->sei = av_malloc(x4->sei_size); av_malloc 395 libavcodec/libx265.c avctx->extradata = av_malloc(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 510 libavcodec/libx265.c x265pic.userData = av_malloc(sizeof(pic->reordered_opaque)); av_malloc 407 libavcodec/libxavs.c avctx->extradata = p = av_malloc(s); av_malloc 411 libavcodec/libxavs.c x4->sei = av_malloc( 5 + nal[i].i_payload * 4 / 3 ); av_malloc 301 libavcodec/libxvid.c avctx->extradata = av_malloc(vo_len); av_malloc 502 libavcodec/libxvid.c x->twopassbuffer = av_malloc(BUFFER_SIZE); av_malloc 503 libavcodec/libxvid.c x->old_twopassbuffer = av_malloc(BUFFER_SIZE); av_malloc 635 libavcodec/libxvid.c x->intra_matrix = av_malloc(sizeof(unsigned char) * 64); av_malloc 642 libavcodec/libxvid.c x->inter_matrix = av_malloc(sizeof(unsigned char) * 64); av_malloc 705 libavcodec/libxvid.c picture->data[0] = av_malloc(size + size / 2); av_malloc 170 libavcodec/libzvbi-teletextdec.c char *vbi_text = av_malloc(TEXT_MAXSZ); av_malloc 700 libavcodec/libzvbi-teletextdec.c sub->rects = av_malloc(sizeof(*sub->rects)); av_malloc 203 libavcodec/magicyuvenc.c s->slices[i] = av_malloc(avctx->width * (avctx->height + 2) + av_malloc 892 libavcodec/mediacodec_wrapper.c *data = av_malloc(*size); av_malloc 1094 libavcodec/mediacodec_wrapper.c buffer_data = av_malloc(size); av_malloc 79 libavcodec/mediacodecdec.c p = av_malloc(sizeof(nalu_header) + src_size); av_malloc 2102 libavcodec/mjpegdec.c s->iccdata[seqno - 1] = av_malloc(len); av_malloc 2133 libavcodec/mjpegdec.c char *cbuf = av_malloc(len - 1); av_malloc 678 libavcodec/mlpenc.c ctx->frame_size = av_malloc(size); av_malloc 682 libavcodec/mlpenc.c ctx->max_output_bits = av_malloc(size); av_malloc 689 libavcodec/mlpenc.c ctx->lossless_check_data = av_malloc(size); av_malloc 701 libavcodec/mlpenc.c ctx->channel_params = av_malloc(size); av_malloc 710 libavcodec/mlpenc.c ctx->decoding_params = av_malloc(size); av_malloc 1819 libavcodec/mlpenc.c filter_state_buffer[i] = av_malloc(size*sizeof(int32_t)); av_malloc 251 libavcodec/movtextdec.c m->ftab_temp->font = av_malloc(font_length + 1); av_malloc 313 libavcodec/movtextdec.c m->s_temp = av_malloc(sizeof(*m->s_temp)); av_malloc 398 libavcodec/movtextenc.c s->style_attributes_temp = av_malloc(sizeof(*s->style_attributes_temp)); av_malloc 2247 libavcodec/mpeg12dec.c s1->a53_caption = av_malloc(s1->a53_caption_size); av_malloc 2334 libavcodec/mpeg12dec.c s1->a53_caption = av_malloc(s1->a53_caption_size); av_malloc 1309 libavcodec/mpeg4videoenc.c s->avctx->extradata = av_malloc(1024); av_malloc 115 libavcodec/mpeg_er.c er->er_temp_buffer = av_malloc(s->mb_height * s->mb_stride * (4*sizeof(int) + 1)); av_malloc 222 libavcodec/mscc.c if (!(s->decomp_buf = av_malloc(s->decomp_size))) av_malloc 226 libavcodec/mscc.c if (!(s->uncomp_buf = av_malloc(s->uncomp_size))) av_malloc 53 libavcodec/msmpeg4enc.c tab->table_mv_index = av_malloc(sizeof(uint16_t) * 4096); av_malloc 843 libavcodec/mss3.c c->dct_coder[i].prev_dc = av_malloc(sizeof(*c->dct_coder[i].prev_dc) * av_malloc 84 libavcodec/msvideo1enc.c c->prev = av_malloc(avctx->width * 3 * (avctx->height + 3)); av_malloc 149 libavcodec/mwsc.c if (!(s->decomp_buf = av_malloc(s->decomp_size))) av_malloc 111 libavcodec/mxpegdec.c s->mxm_bitmask = av_malloc(bitmask_size); av_malloc 196 libavcodec/nellymoserenc.c s->opt = av_malloc(NELLY_BANDS * OPT_SIZE * sizeof(float )); av_malloc 197 libavcodec/nellymoserenc.c s->path = av_malloc(NELLY_BANDS * OPT_SIZE * sizeof(uint8_t)); av_malloc 287 libavcodec/nvenc.c guids = av_malloc(count * sizeof(GUID)); av_malloc 778 libavcodec/omx.c buf = av_malloc(image_buffer_size); av_malloc 159 libavcodec/options.c AVCodecContext *avctx= av_malloc(sizeof(AVCodecContext)); av_malloc 264 libavcodec/options.c dest->obj = av_malloc(size + pad); \ av_malloc 899 libavcodec/opus_pvq.c CeltPVQ *s = av_malloc(sizeof(CeltPVQ)); av_malloc 650 libavcodec/opusenc.c avctx->extradata = av_malloc(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 682 libavcodec/opusenc.c s->frame = av_malloc(max_frames*sizeof(CeltFrame)); av_malloc 685 libavcodec/opusenc.c s->rc = av_malloc(max_frames*sizeof(OpusRangeCoder)); av_malloc 561 libavcodec/opusenc_psy.c s->window[i] = av_malloc(2*len*sizeof(float)); av_malloc 210 libavcodec/parser.c *poutbuf = av_malloc(size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 48 libavcodec/pcm-dvd.c if (!(s->extra_samples = av_malloc(8 * 3 * 4))) av_malloc 154 libavcodec/pcx.c scanline = av_malloc(bytes_per_scanline + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 498 libavcodec/pngdec.c q = out = av_malloc(size_in + extra + 1); av_malloc 444 libavcodec/pngenc.c crow_base = av_malloc((row_size + 32) << (s->filter_type == PNG_FILTER_VALUE_MIXED)); av_malloc 452 libavcodec/pngenc.c progressive_buf = av_malloc(row_size + 1); av_malloc 453 libavcodec/pngenc.c top_buf = av_malloc(row_size + 1); av_malloc 750 libavcodec/pngenc.c temp_bytestream = av_malloc(original_bytestream_end - original_bytestream); av_malloc 876 libavcodec/pngenc.c s->bytestream = s->extra_data = av_malloc(AV_INPUT_BUFFER_MIN_SIZE); av_malloc 886 libavcodec/pngenc.c s->last_frame_packet = av_malloc(max_packet_size); av_malloc 105 libavcodec/ppc/blockdsp.c register char *fakedata = av_malloc(1024); av_malloc 879 libavcodec/proresenc_anatoliy.c ctx->fill_y = av_malloc(4 * (DEFAULT_SLICE_MB_WIDTH << 8)); av_malloc 888 libavcodec/proresenc_anatoliy.c ctx->fill_y = av_malloc(3 * (DEFAULT_SLICE_MB_WIDTH << 9)); av_malloc 896 libavcodec/proresenc_anatoliy.c ctx->fill_a = av_malloc(DEFAULT_SLICE_MB_WIDTH << 9); /* 8 blocks x 16px x 16px x sizeof (uint16) */ av_malloc 1296 libavcodec/proresenc_kostya.c ctx->slice_q = av_malloc(ctx->slices_per_picture * sizeof(*ctx->slice_q)); av_malloc 1309 libavcodec/proresenc_kostya.c ctx->tdata[j].nodes = av_malloc((ctx->slices_width + 1) av_malloc 347 libavcodec/prosumer.c s->initial_line = av_malloc(s->stride); av_malloc 348 libavcodec/prosumer.c s->decbuffer = av_malloc(s->size); av_malloc 426 libavcodec/psd.c s->tmp = av_malloc(s->uncompressed_size); av_malloc 796 libavcodec/pthread_frame.c AVCodecContext *copy = av_malloc(sizeof(AVCodecContext)); av_malloc 822 libavcodec/pthread_frame.c copy->internal = av_malloc(sizeof(AVCodecInternal)); av_malloc 980 libavcodec/qsvenc.c avctx->extradata = av_malloc(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 76 libavcodec/rl.c rl->max_level[last] = av_malloc(MAX_RUN + 1); av_malloc 84 libavcodec/rl.c rl->max_run[last] = av_malloc(MAX_LEVEL + 1); av_malloc 92 libavcodec/rl.c rl->index_run[last] = av_malloc(MAX_RUN + 1); av_malloc 71 libavcodec/roqaudioenc.c context->frame_buffer = av_malloc(8 * ROQ_FRAME_SIZE * avctx->channels * av_malloc 834 libavcodec/roqvideoenc.c roq_cell *results4 = av_malloc(sizeof(roq_cell)*MAX_CBS_4x4*4); av_malloc 1012 libavcodec/roqvideoenc.c enc->tmpData = av_malloc(sizeof(RoqTempdata)); av_malloc 131 libavcodec/rscc.c ctx->inflated_buf = av_malloc(ctx->inflated_size); av_malloc 208 libavcodec/rscc.c inflated_tiles = av_malloc(length); av_malloc 1386 libavcodec/rv34.c r->intra_types_hist = av_malloc(r->intra_types_stride * 4 * 2 * av_malloc 1715 libavcodec/rv34.c r->tmp_b_block_base = av_malloc(s->linesize * 48); av_malloc 84 libavcodec/screenpresso.c ctx->inflated_buf = av_malloc(ctx->inflated_size); av_malloc 212 libavcodec/sgienc.c if (!(encode_buf = av_malloc(width * bytes_per_channel))) av_malloc 336 libavcodec/smacker.c smk->mmap_tbl = av_malloc(sizeof(int) * 2); av_malloc 349 libavcodec/smacker.c smk->mclr_tbl = av_malloc(sizeof(int) * 2); av_malloc 362 libavcodec/smacker.c smk->full_tbl = av_malloc(sizeof(int) * 2); av_malloc 375 libavcodec/smacker.c smk->type_tbl = av_malloc(sizeof(int) * 2); av_malloc 682 libavcodec/svq1dec.c pmv = av_malloc((FFALIGN(s->width, 16) / 8 + 3) * sizeof(*pmv)); av_malloc 1280 libavcodec/svq3.c buf = av_malloc(buf_len); av_malloc 41 libavcodec/tests/avpacket.c if(!(extra_data = av_malloc(bytes))){ av_malloc 41 libavcodec/tests/golomb.c temp = av_malloc(SIZE); av_malloc 28 libavcodec/tests/options.c ctx->extradata = av_malloc(ctx->extradata_size); av_malloc 233 libavcodec/tiff.c ap = av_malloc(14); av_malloc 248 libavcodec/tiff.c ap = av_malloc(component_len * count + 1); av_malloc 419 libavcodec/tiff.c zbuf = av_malloc(outlen); av_malloc 484 libavcodec/tiff.c uint8_t *buf = av_malloc(outlen); av_malloc 1658 libavcodec/tiff.c ap = av_malloc(s->geotags[i].count); av_malloc 1982 libavcodec/tiff.c dst = av_malloc(stride * s->height); av_malloc 249 libavcodec/tiff_common.c value = av_malloc(count + 1); av_malloc 384 libavcodec/tiffenc.c zbuf = av_malloc(zlen); av_malloc 413 libavcodec/tiffenc.c s->lzws = av_malloc(ff_lzw_encode_state_size); av_malloc 156 libavcodec/tscc.c if (!(c->decomp_buf = av_malloc(c->decomp_size))) { av_malloc 360 libavcodec/tscc2.c c->slice_quants = av_malloc(c->mb_width * c->mb_height); av_malloc 184 libavcodec/utvideoenc.c c->slice_buffer[i] = av_malloc(c->slice_stride * (avctx->height + 2) + av_malloc 222 libavcodec/vaapi_encode.c pic->codec_picture_params = av_malloc(ctx->codec->picture_params_size); av_malloc 1121 libavcodec/vaapi_encode_h264.c priv->sei_identifier_string = av_malloc(len + 1); av_malloc 331 libavcodec/vc1dec.c v->mv_type_mb_plane = av_malloc (s->mb_stride * mb_height); av_malloc 332 libavcodec/vc1dec.c v->direct_mb_plane = av_malloc (s->mb_stride * mb_height); av_malloc 333 libavcodec/vc1dec.c v->forward_mb_plane = av_malloc (s->mb_stride * mb_height); av_malloc 335 libavcodec/vc1dec.c v->acpred_plane = av_malloc (s->mb_stride * mb_height); av_malloc 336 libavcodec/vc1dec.c v->over_flags_plane = av_malloc (s->mb_stride * mb_height); av_malloc 342 libavcodec/vc1dec.c v->block = av_malloc(sizeof(*v->block) * v->n_allocated_blks); av_malloc 343 libavcodec/vc1dec.c v->cbp_base = av_malloc(sizeof(v->cbp_base[0]) * 3 * s->mb_stride); av_malloc 347 libavcodec/vc1dec.c v->ttblk_base = av_malloc(sizeof(v->ttblk_base[0]) * 3 * s->mb_stride); av_malloc 361 libavcodec/vc1dec.c v->mb_type_base = av_malloc(s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2); av_malloc 386 libavcodec/vc1dec.c if (!(v->sr_rows[i >> 1][i & 1] = av_malloc(v->output_width))) av_malloc 150 libavcodec/videotoolbox.c uint8_t *vt_extradata = av_malloc(vt_extradata_size); av_malloc 210 libavcodec/videotoolbox.c vt_extradata = av_malloc(vt_extradata_size); av_malloc 328 libavcodec/videotoolboxenc.c BufNode *info = av_malloc(sizeof(BufNode)); av_malloc 404 libavcodec/vmdvideo.c s->unpack_buffer = av_malloc(s->unpack_buffer_size); av_malloc 100 libavcodec/vorbis_parser.c if (!(rev_buf = av_malloc(buf_size))) { av_malloc 254 libavcodec/vorbisdec.c codebook_multiplicands = av_malloc(V_MAX_VLCS * sizeof(*codebook_multiplicands)); av_malloc 633 libavcodec/vorbisdec.c av_malloc(floor_setup->data.t0.num_books); av_malloc 282 libavcodec/vorbisenc.c venc->codebooks = av_malloc(sizeof(vorbis_enc_codebook) * venc->ncodebooks); av_malloc 321 libavcodec/vorbisenc.c venc->floors = av_malloc(sizeof(vorbis_enc_floor) * venc->nfloors); av_malloc 328 libavcodec/vorbisenc.c fc->partition_to_class = av_malloc(sizeof(int) * fc->partitions); av_malloc 378 libavcodec/vorbisenc.c venc->residues = av_malloc(sizeof(vorbis_enc_residue) * venc->nresidues); av_malloc 390 libavcodec/vorbisenc.c rc->books = av_malloc(sizeof(*rc->books) * rc->classifications); av_malloc 412 libavcodec/vorbisenc.c venc->mappings = av_malloc(sizeof(vorbis_enc_mapping) * venc->nmappings); av_malloc 419 libavcodec/vorbisenc.c mc->mux = av_malloc(sizeof(int) * venc->channels); av_malloc 424 libavcodec/vorbisenc.c mc->floor = av_malloc(sizeof(int) * mc->submaps); av_malloc 425 libavcodec/vorbisenc.c mc->residue = av_malloc(sizeof(int) * mc->submaps); av_malloc 433 libavcodec/vorbisenc.c mc->magnitude = av_malloc(sizeof(int) * mc->coupling_steps); av_malloc 434 libavcodec/vorbisenc.c mc->angle = av_malloc(sizeof(int) * mc->coupling_steps); av_malloc 443 libavcodec/vorbisenc.c venc->modes = av_malloc(sizeof(vorbis_enc_mode) * venc->nmodes); av_malloc 2726 libavcodec/vp3.c s->edge_emu_buffer = av_malloc(9 * FFABS(s->current_frame.f->linesize[0])); av_malloc 553 libavcodec/vp56.c s->edge_emu_buffer_alloc = av_malloc(16*stride); av_malloc 268 libavcodec/vp9.c p = av_malloc(s->sb_cols * (128 + 192 * bytesperpixel + av_malloc 342 libavcodec/vp9.c s->td[i].b_base = av_malloc(sizeof(VP9Block)); av_malloc 172 libavcodec/vqavideo.c s->codebook = av_malloc(s->codebook_size); av_malloc 175 libavcodec/vqavideo.c s->next_codebook_buffer = av_malloc(s->codebook_size); av_malloc 1047 libavcodec/webp.c line = av_malloc(img->frame->linesize[0] + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 64 libavcodec/wmaenc.c extradata = av_malloc(4); av_malloc 76 libavcodec/wnv1.c rbuf = av_malloc(buf_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 98 libavcodec/xan.c s->buffer1 = av_malloc(s->buffer1_size); av_malloc 102 libavcodec/xan.c s->buffer2 = av_malloc(s->buffer2_size + 130); av_malloc 111 libavcodec/xsubdec.c sub->rects[0]->data[0] = av_malloc(w * h); av_malloc 70 libavcodec/xxan.c s->y_buffer = av_malloc(s->buffer_size); av_malloc 73 libavcodec/xxan.c s->scratch_buffer = av_malloc(s->buffer_size + 130); av_malloc 388 libavcodec/zmbvenc.c if (!(c->work_buf = av_malloc(c->comp_size))) { av_malloc 397 libavcodec/zmbvenc.c if (!(c->comp_buf = av_malloc(c->comp_size))) { av_malloc 49 libavdevice/decklink_common.h s = (char *) av_malloc(l); av_malloc 113 libavdevice/decklink_dec.cpp void *buf = av_malloc(bufferSize + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 401 libavdevice/decklink_dec.cpp cc = (uint8_t *)av_malloc(cc_count * 3); av_malloc 529 libavdevice/decklink_dec.cpp pkt1 = (AVPacketList *)av_malloc(sizeof(AVPacketList)); av_malloc 136 libavdevice/dshow.c s = av_malloc(l); av_malloc 337 libavdevice/dshow.c caps = av_malloc(size); av_malloc 1006 libavdevice/dshow.c par->extradata = av_malloc(9 + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 39 libavdevice/dshow_enummediatypes.c AM_MEDIA_TYPE *type = av_malloc(sizeof(AM_MEDIA_TYPE)); av_malloc 213 libavdevice/dshow_pin.c imemvtbl = av_malloc(sizeof(IMemInputPinVtbl)); av_malloc 121 libavdevice/iec61883.c packet->buf = av_malloc(length + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 72 libavdevice/lavfi.c if (!(fmts = av_malloc((count+1) * sizeof(int)))) av_malloc 187 libavdevice/lavfi.c if (!(lavfi->sink_stream_map = av_malloc(sizeof(int) * n))) av_malloc 191 libavdevice/lavfi.c if (!(lavfi->stream_sink_map = av_malloc(sizeof(int) * n))) av_malloc 193 libavdevice/lavfi.c if (!(lavfi->sink_stream_subcc_map = av_malloc(sizeof(int) * n))) av_malloc 758 libavdevice/opengl_enc.c if ((log = av_malloc(result))) { av_malloc 810 libavdevice/opengl_enc.c log = av_malloc(result); av_malloc 80 libavdevice/sndio.c s->buffer = av_malloc(s->buffer_size); av_malloc 570 libavdevice/v4l2.c buf_descriptor = av_malloc(sizeof(struct buff_data)); av_malloc 313 libavdevice/vfwcap.c bi = av_malloc(bisize); av_malloc 402 libavdevice/vfwcap.c par->extradata = av_malloc(9 + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 135 libavfilter/af_amix.c FrameInfo *info = av_malloc(sizeof(*info)); av_malloc 264 libavfilter/af_amix.c s->input_state = av_malloc(s->nb_inputs); av_malloc 250 libavfilter/af_atempo.c field = av_malloc(field_size); \ av_malloc 201 libavfilter/af_chorus.c s->lookup_table[n] = av_malloc(sizeof(int32_t) * s->length[n]); av_malloc 173 libavfilter/af_dynaudnorm.c q = av_malloc(sizeof(cqueue)); av_malloc 147 libavfilter/af_lv2.c table->uris[table->n_uris] = av_malloc(len + 1); av_malloc 315 libavfilter/af_lv2.c s->seq_out = av_malloc(sizeof(LV2_Atom_Sequence) + 9624); av_malloc 173 libavfilter/asrc_flite.c if (!(flite->text = av_malloc(textbuf_size+1))) { av_malloc 149 libavfilter/asrc_sine.c if (!(sine->sin = av_malloc(sizeof(*sine->sin) << LOG_PERIOD))) av_malloc 830 libavfilter/avf_showwaves.c f = av_malloc(sizeof(*f)); av_malloc 132 libavfilter/buffersink.c AVBufferSinkParams *params = av_malloc(sizeof(AVBufferSinkParams)); av_malloc 84 libavfilter/dnn/dnn_backend_native.c oprd->data = av_malloc(oprd->length); av_malloc 145 libavfilter/dnn/dnn_backend_native.c buf = av_malloc(size); av_malloc 31 libavfilter/dnn/dnn_backend_native_layer_conv2d.c conv_params = av_malloc(sizeof(*conv_params)); av_malloc 56 libavfilter/dnn/dnn_backend_native_layer_conv2d.c conv_params->kernel = av_malloc(kernel_size * sizeof(float)); av_malloc 67 libavfilter/dnn/dnn_backend_native_layer_conv2d.c conv_params->biases = av_malloc(conv_params->output_num * sizeof(float)); av_malloc 34 libavfilter/dnn/dnn_backend_native_layer_depth2space.c params = av_malloc(sizeof(*params)); av_malloc 35 libavfilter/dnn/dnn_backend_native_layer_mathbinary.c params = av_malloc(sizeof(*params)); av_malloc 34 libavfilter/dnn/dnn_backend_native_layer_mathunary.c params = av_malloc(sizeof(*params)); av_malloc 34 libavfilter/dnn/dnn_backend_native_layer_maximum.c params = av_malloc(sizeof(*params)); av_malloc 29 libavfilter/dnn/dnn_backend_native_layer_pad.c params = av_malloc(sizeof(*params)); av_malloc 66 libavfilter/dnn/dnn_backend_tf.c graph_data = av_malloc(size); av_malloc 580 libavfilter/dnn/dnn_backend_tf.c model = av_malloc(sizeof(DNNModel)); av_malloc 35 libavfilter/dnn/dnn_interface.c dnn_module = av_malloc(sizeof(DNNModule)); av_malloc 121 libavfilter/drawutils.c line[plane] = av_malloc(line_size); av_malloc 224 libavfilter/ebur128.c st = (FFEBUR128State *) av_malloc(sizeof(*st)); av_malloc 227 libavfilter/ebur128.c av_malloc(sizeof(*st->d)); av_malloc 421 libavfilter/f_sendcmd.c buf = av_malloc(file_bufsize + 1); av_malloc 137 libavfilter/f_zmq.c *buf = av_malloc(*buf_size); av_malloc 198 libavfilter/opencl.c log = av_malloc(log_length); av_malloc 283 libavfilter/signature_lookup.c c = av_malloc(sizeof(MatchingInfo)); av_malloc 288 libavfilter/signature_lookup.c c->next = av_malloc(sizeof(MatchingInfo)); av_malloc 83 libavfilter/vf_boxblur.c if (!(s->temp[0] = av_malloc(2*FFMAX(w, h))) || av_malloc 84 libavfilter/vf_boxblur.c !(s->temp[1] = av_malloc(2*FFMAX(w, h)))) av_malloc 418 libavfilter/vf_colorchannelmixer.c s->buffer = buffer = av_malloc(16 * size * sizeof(*s->buffer)); av_malloc 245 libavfilter/vf_colorspace.c s->lin_lut = av_malloc(sizeof(*s->lin_lut) * 32768 * 2); av_malloc 817 libavfilter/vf_colorspace.c s->rgb[0] = av_malloc(rgb_sz); av_malloc 818 libavfilter/vf_colorspace.c s->rgb[1] = av_malloc(rgb_sz); av_malloc 819 libavfilter/vf_colorspace.c s->rgb[2] = av_malloc(rgb_sz); av_malloc 821 libavfilter/vf_colorspace.c av_malloc(sizeof(*s->dither_scratch_base[0][0]) * (in->width + 4)); av_malloc 823 libavfilter/vf_colorspace.c av_malloc(sizeof(*s->dither_scratch_base[0][1]) * (in->width + 4)); av_malloc 825 libavfilter/vf_colorspace.c av_malloc(sizeof(*s->dither_scratch_base[1][0]) * (uvw + 4)); av_malloc 827 libavfilter/vf_colorspace.c av_malloc(sizeof(*s->dither_scratch_base[1][1]) * (uvw + 4)); av_malloc 829 libavfilter/vf_colorspace.c av_malloc(sizeof(*s->dither_scratch_base[2][0]) * (uvw + 4)); av_malloc 831 libavfilter/vf_colorspace.c av_malloc(sizeof(*s->dither_scratch_base[2][1]) * (uvw + 4)); av_malloc 145 libavfilter/vf_convolution_opencl.c matrix = av_malloc(matrix_bytes); av_malloc 243 libavfilter/vf_curves.c h = av_malloc((n - 1) * sizeof(*h)); av_malloc 600 libavfilter/vf_dctdnoiz.c s->weights = av_malloc(s->pr_height * linesize * sizeof(*s->weights)); av_malloc 392 libavfilter/vf_deband.c s->x_pos = av_malloc(s->planewidth[0] * s->planeheight[0] * sizeof(*s->x_pos)); av_malloc 393 libavfilter/vf_deband.c s->y_pos = av_malloc(s->planewidth[0] * s->planeheight[0] * sizeof(*s->y_pos)); av_malloc 137 libavfilter/vf_edgedetect.c plane->tmpbuf = av_malloc(plane->width * plane->height); av_malloc 139 libavfilter/vf_edgedetect.c plane->directions = av_malloc(plane->width * plane->height); av_malloc 954 libavfilter/vf_fieldmatch.c fm->c_array = av_malloc((((w + fm->blockx/2)/fm->blockx)+1) * av_malloc 281 libavfilter/vf_hqdn3d.c s->coefs[i] = av_malloc((512<<LUT_BITS) * sizeof(int16_t)); av_malloc 202 libavfilter/vf_libopencv.c if (!(line = av_malloc(*cols + 1))) av_malloc 872 libavfilter/vf_lut3d.c in_prelut[i] = (float*)av_malloc(npoints * sizeof(float)); av_malloc 873 libavfilter/vf_lut3d.c out_prelut[i] = (float*)av_malloc(npoints * sizeof(float)); av_malloc 196 libavfilter/vf_nlmeans_opencl.c dxdy = av_malloc(nb_pixel * 2 * sizeof(cl_int)); av_malloc 197 libavfilter/vf_nlmeans_opencl.c tmp = av_malloc(nb_pixel * 2 * sizeof(int)); av_malloc 769 libavfilter/vf_nnedi.c frame_data->input = av_malloc(512 * sizeof(float)); av_malloc 777 libavfilter/vf_nnedi.c frame_data->temp = av_malloc(temp_size); av_malloc 955 libavfilter/vf_nnedi.c bdata = (float *)av_malloc(expected_size); av_malloc 72 libavfilter/vf_noise.c int8_t *noise = av_malloc(MAX_NOISE * sizeof(int8_t)); av_malloc 444 libavfilter/vf_normalize.c s->history_mem = av_malloc(s->history_len * 6 * sizeof(*s->history_mem)); av_malloc 254 libavfilter/vf_pullup.c b->planes[i] = av_malloc(s->planeheight[i] * s->planewidth[i]); av_malloc 257 libavfilter/vf_pullup.c b->planes[1] = av_malloc(4*256); av_malloc 234 libavfilter/vf_removelogo.c *mask = av_malloc(*w * *h); av_malloc 156 libavfilter/vf_sab.c f->pre_filter_buf = av_malloc(linesize * height); av_malloc 136 libavfilter/vf_unsharp_opencl.c matrix = av_malloc(matrix_bytes); av_malloc 374 libavfilter/vf_uspp.c if (!(uspp->outbuf = av_malloc(uspp->outbuf_size))) av_malloc 246 libavfilter/vf_vmafmotion.c if (!(s->blur_data[0] = av_malloc(data_sz)) || av_malloc 247 libavfilter/vf_vmafmotion.c !(s->blur_data[1] = av_malloc(data_sz)) || av_malloc 248 libavfilter/vf_vmafmotion.c !(s->temp_data = av_malloc(data_sz))) { av_malloc 497 libavfilter/vf_zscale.c *tmp = av_malloc(size); av_malloc 71 libavfilter/vidstabutils.c vs_malloc = av_malloc; av_malloc 92 libavfilter/vsrc_cellauto.c char *line = av_malloc(s->w + 1); av_malloc 154 libavfilter/vsrc_cellauto.c s->pattern = av_malloc(s->file_bufsize + 1); av_malloc 150 libavfilter/vsrc_life.c char *line = av_malloc(life->w + 1); av_malloc 1213 libavfilter/vulkan.c pl->desc_set = av_malloc(pl->descriptor_sets_num*sizeof(*pl->desc_set)); av_malloc 1249 libavfilter/vulkan.c pl->desc_template = av_malloc(pl->descriptor_sets_num*sizeof(*pl->desc_template)); av_malloc 233 libavformat/4xm.c header = av_malloc(header_size); av_malloc 77 libavformat/aiffdec.c uint8_t *str = av_malloc(size+1); av_malloc 104 libavformat/apetag.c value = av_malloc(size+1); av_malloc 269 libavformat/asfdec_f.c desc = av_malloc(desc_len); av_malloc 329 libavformat/asfdec_f.c value = av_malloc(2 * len + LEN); av_malloc 718 libavformat/asfdec_f.c name = av_malloc(name_len_utf8); av_malloc 281 libavformat/asfdec_o.c value = av_malloc(buflen); av_malloc 411 libavformat/asfdec_o.c desc = av_malloc(desc_len); av_malloc 517 libavformat/asfdec_o.c name = av_malloc(name_len); av_malloc 595 libavformat/asfdec_o.c name = av_malloc(buflen); av_malloc 640 libavformat/asfdec_o.c ch = av_malloc(buflen[i]); av_malloc 713 libavformat/asfdec_o.c if (!(st->codecpar->extradata = av_malloc(st->codecpar->extradata_size + av_malloc 789 libavformat/asfenc.c asf->index_ptr = av_malloc(sizeof(ASFIndex) * ASF_INDEX_BLOCK); av_malloc 105 libavformat/av1.c buf = av_malloc(len + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 275 libavformat/avc.c dst = av_malloc(src_len + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 305 libavformat/avidec.c value = av_malloc(size + 1); av_malloc 123 libavformat/avienc.c av_malloc(AVI_INDEX_CLUSTER_SIZE * sizeof(AVIIentry)); av_malloc 639 libavformat/avio.c *handles = av_malloc(sizeof(**handles)); av_malloc 135 libavformat/aviobuf.c AVIOContext *s = av_malloc(sizeof(AVIOContext)); av_malloc 929 libavformat/aviobuf.c buffer = av_malloc(buffer_size); av_malloc 996 libavformat/aviobuf.c buffer = av_malloc(buf_size); av_malloc 1014 libavformat/aviobuf.c buffer = av_malloc(buf_size); av_malloc 1038 libavformat/aviobuf.c buffer = av_malloc(buf_size); av_malloc 128 libavformat/bethsoftvid.c vidbuf_start = av_malloc(vidbuf_capacity = BUFFER_PADDING_SIZE); av_malloc 134 libavformat/cache.c entry = av_malloc(sizeof(*entry)); av_malloc 253 libavformat/cinedec.c description = av_malloc(DESCRIPTION_SIZE + 1); av_malloc 132 libavformat/concatdec.c if (!(url = av_malloc(url_len))) av_malloc 1926 libavformat/dashdec.c avio_ctx_buffer = av_malloc(INITIAL_BUFFER_SIZE); av_malloc 76 libavformat/data_uri.c if (out_size > INT_MAX || !(ddata = av_malloc(out_size))) av_malloc 114 libavformat/dtshddec.c value = av_malloc(chunk_size); av_malloc 126 libavformat/ffmetadec.c uint8_t *ret = av_malloc(size + 1); av_malloc 105 libavformat/flac_picture.c if (!(desc = av_malloc(len + 1))) { av_malloc 552 libavformat/flvenc.c FLVFileposition *position = av_malloc(sizeof(FLVFileposition)); av_malloc 935 libavformat/ftp.c s->dir_buffer = av_malloc(DIR_BUFFER_SIZE); av_malloc 96 libavformat/hdsenc.c os->extra_packets[os->nb_extra_packets] = av_malloc(size); av_malloc 105 libavformat/hdsenc.c os->metadata = av_malloc(os->metadata_size); av_malloc 189 libavformat/hdsenc.c char *base64 = av_malloc(b64_size); av_malloc 892 libavformat/hls.c seg = av_malloc(sizeof(struct segment)); av_malloc 1962 libavformat/hls.c pls->read_buffer = av_malloc(INITIAL_BUFFER_SIZE); av_malloc 1042 libavformat/hlsenc.c HLSSegment *en = av_malloc(sizeof(*en)); av_malloc 2855 libavformat/hlsenc.c vs->fmp4_init_filename = av_malloc(fmp4_init_filename_len); av_malloc 146 libavformat/hlsproto.c struct segment *seg = av_malloc(sizeof(struct segment)); av_malloc 156 libavformat/hlsproto.c struct variant *var = av_malloc(sizeof(struct variant)); av_malloc 897 libavformat/http.c *cookies = av_malloc(len); av_malloc 1464 libavformat/http.c s->inflate_buffer = av_malloc(DECOMPRESS_BUF_SIZE); av_malloc 216 libavformat/httpauth.c authstr = av_malloc(len); av_malloc 266 libavformat/httpauth.c authstr = av_malloc(len); av_malloc 492 libavformat/id3v2.c geob_data->data = av_malloc(taglen); av_malloc 753 libavformat/id3v2.c priv->data = av_malloc(taglen); av_malloc 131 libavformat/iff.c uint8_t *buf = ((data_size + 1) == 0) ? NULL : av_malloc(data_size + 1); av_malloc 110 libavformat/jvdec.c ast->index_entries = av_malloc(ast->nb_index_entries * av_malloc 115 libavformat/jvdec.c jv->frames = av_malloc(ast->nb_index_entries * sizeof(JVFrame)); av_malloc 96 libavformat/libgme.c buf = av_malloc(sz); av_malloc 189 libavformat/libmodplug.c modplug->buf = av_malloc(modplug->max_size); av_malloc 93 libavformat/libopenmpt.c buf = av_malloc(size); av_malloc 158 libavformat/librtmp.c if (!(ctx->temp_filename = filename = av_malloc(len))) av_malloc 89 libavformat/lrcenc.c char *data = av_malloc(pkt->size + 1); av_malloc 984 libavformat/matroskadec.c if (!(res = av_malloc(size + 1))) av_malloc 1611 libavformat/matroskadec.c pkt_data = av_malloc(pkt_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 2362 libavformat/matroskadec.c key_id_base64 = av_malloc(b64_size); av_malloc 3287 libavformat/matroskadec.c dst = av_malloc(dstlen + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 1957 libavformat/matroskaenc.c dst = av_malloc(srclen); av_malloc 82 libavformat/mlvdec.c char * value = av_malloc(size + 1); av_malloc 685 libavformat/mov.c dref->dir = av_malloc(len+1); av_malloc 758 libavformat/mov.c title_str = av_malloc(title_size + 1); /* Add null terminator */ av_malloc 869 libavformat/mov.c buf = av_malloc(ddts_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 1124 libavformat/mov.c comp_brands_str = av_malloc(comp_brand_size + 1); /* Add null terminator */ av_malloc 2346 libavformat/mov.c char *reel_name = av_malloc(str_size + 1); av_malloc 2553 libavformat/mov.c sc->extradata[pseudo_stream_id] = av_malloc(extra_size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 2870 libavformat/mov.c buf = av_malloc(num_bytes+AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 3513 libavformat/mov.c msc->index_ranges = av_malloc((msc->elst_count + 1) * sizeof(msc->index_ranges[0])); av_malloc 4440 libavformat/mov.c *p = av_malloc(len + 1); av_malloc 4582 libavformat/mov.c sc->display_matrix = av_malloc(sizeof(int32_t) * 9); av_malloc 5185 libavformat/mov.c cmov_data = av_malloc(cmov_len); av_malloc 5188 libavformat/mov.c moov_data = av_malloc(moov_len); av_malloc 5689 libavformat/mov.c uint8_t *buffer = av_malloc(len + 1); av_malloc 554 libavformat/movenc.c buf = av_malloc(size); av_malloc 2395 libavformat/movenc.c stts_entries = av_malloc(sizeof(*stts_entries)); /* one entry */ av_malloc 5498 libavformat/movenc.c trk->vos_data = av_malloc(trk->vos_len + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 5515 libavformat/movenc.c trk->vos_data = av_malloc(size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 6033 libavformat/movenc.c pkt.data = av_malloc(pkt.size); av_malloc 6086 libavformat/movenc.c pkt.data = av_malloc(pkt.size); av_malloc 6233 libavformat/movenc.c track->vos_data = av_malloc(16*4 + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 6616 libavformat/movenc.c track->vos_data = av_malloc(track->vos_len + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 6813 libavformat/movenc.c buf = av_malloc(moov_size * 2); av_malloc 6876 libavformat/movenc.c track->vos_data = av_malloc(track->vos_len + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 131 libavformat/movenchint.c uint8_t *ptr = av_malloc(sample->size); av_malloc 86 libavformat/mpc.c c->frames = av_malloc(c->fcount * sizeof(MPCFrame)); av_malloc 157 libavformat/mpc8.c if(!(buf = av_malloc(size + AV_INPUT_BUFFER_PADDING_SIZE))) av_malloc 263 libavformat/mpeg.c uint8_t *ps2buf = av_malloc(len); av_malloc 725 libavformat/mpegts.c str = out = av_malloc(outlen); av_malloc 742 libavformat/mpegts.c str = av_malloc(len + 1); av_malloc 926 libavformat/mpegts.c PESContext *sub_pes = av_malloc(sizeof(*sub_pes)); av_malloc 1531 libavformat/mpegts.c d->active_descr->dec_config_descr = av_malloc(len); av_malloc 1695 libavformat/mpegtsenc.c data = av_malloc(pkt->size + 6 + extradd); av_malloc 1761 libavformat/mpegtsenc.c data = av_malloc(pkt->size + 7 + extradd); av_malloc 1803 libavformat/mpegtsenc.c data = av_malloc(ctrl_header_size); av_malloc 820 libavformat/mux.c this_pktl = av_malloc(sizeof(AVPacketList)); av_malloc 65 libavformat/mvdec.c str = av_malloc(size + 1); av_malloc 871 libavformat/mxfdec.c *str = av_malloc(buf_size); av_malloc 1238 libavformat/mxfdec.c descriptor->extradata = av_malloc(size); av_malloc 322 libavformat/nutdec.c hdr = av_malloc(nut->header_len[i]); av_malloc 86 libavformat/oggdec.c av_malloc(sizeof(*ost) + (ogg->nstreams - 1) * sizeof(*ogg->streams)); av_malloc 271 libavformat/oggdec.c os->buf = av_malloc(os->bufsize + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 401 libavformat/oggdec.c readout_buf = av_malloc(size); av_malloc 49 libavformat/oggparsecelt.c priv = av_malloc(sizeof(struct oggcelt_private)); av_malloc 134 libavformat/oggparsevorbis.c tt = av_malloc(tl + 1); av_malloc 135 libavformat/oggparsevorbis.c ct = av_malloc(vl + 1); av_malloc 156 libavformat/oggparsevorbis.c char *pict = av_malloc(len); av_malloc 148 libavformat/options.c ic = av_malloc(sizeof(AVFormatContext)); av_malloc 191 libavformat/prompeg.c *bitstring = av_malloc(s->bitstring_size); av_malloc 355 libavformat/prompeg.c s->fec_arr[i] = av_malloc(sizeof (PrompegFec)); av_malloc 162 libavformat/rl2.c chunk_size = av_malloc(frame_count * sizeof(uint32_t)); av_malloc 163 libavformat/rl2.c audio_size = av_malloc(frame_count * sizeof(uint32_t)); av_malloc 164 libavformat/rl2.c chunk_offset = av_malloc(frame_count * sizeof(uint32_t)); av_malloc 65 libavformat/rtmpdh.c bn = av_malloc(sizeof(*bn)); \ av_malloc 170 libavformat/rtmpdh.c bn = av_malloc(sizeof(*bn)); \ av_malloc 1132 libavformat/rtmpproto.c if (!(in_data = av_malloc(in_size))) { av_malloc 1149 libavformat/rtmpproto.c if (!(out_data = av_malloc(8))) { av_malloc 2538 libavformat/rtmpproto.c if (!(rt->flv_data = av_malloc(rt->flv_size + 55))) { av_malloc 2688 libavformat/rtmpproto.c rt->app = av_malloc(APP_MAX_LENGTH); av_malloc 2751 libavformat/rtmpproto.c rt->playpath = av_malloc(max_len); av_malloc 2775 libavformat/rtmpproto.c rt->tcurl = av_malloc(TCURL_MAX_LENGTH); av_malloc 2785 libavformat/rtmpproto.c rt->flashver = av_malloc(FLASHVER_MAX_LENGTH); av_malloc 899 libavformat/rtpdec.c if (!(value = av_malloc(value_size))) { av_malloc 135 libavformat/rtpdec_mpa_robust.c data->split_buf = av_malloc(data->split_buf_size); av_malloc 157 libavformat/rtpdec_mpeg4.c data->au_headers = av_malloc(sizeof(struct AUHeaders) * data->nb_au_headers); av_malloc 166 libavformat/rtpdec_rfc4175.c data->frame = av_malloc(data->frame_size); av_malloc 140 libavformat/rtpdec_xiph.c data->split_buf = av_malloc(data->split_buf_size); av_malloc 331 libavformat/rtpdec_xiph.c decoded_packet = av_malloc(decoded_alloc); av_malloc 153 libavformat/rtpenc.c s->buf = av_malloc(s1->packet_size); av_malloc 540 libavformat/rtpproto.c int *hs = *handles = av_malloc(sizeof(**handles) * 2); av_malloc 368 libavformat/rtsp.c rtsp_src2 = av_malloc(sizeof(*rtsp_src2)); av_malloc 1229 libavformat/rtsp.c content = av_malloc(content_length + 1); av_malloc 2204 libavformat/rtsp.c rt->recvbuf = av_malloc(RECVBUF_SIZE); av_malloc 2353 libavformat/rtsp.c content = av_malloc(SDP_MAX_SIZE); av_malloc 89 libavformat/sauce.c char *str = av_malloc(65*nb_comments + 1); av_malloc 402 libavformat/sbgdec.c tptr = av_malloc(oarg.e - oarg.s + 1); av_malloc 336 libavformat/sdp.c config = av_malloc(10 + par->extradata_size * 2); av_malloc 383 libavformat/sdp.c config = av_malloc(config_len); av_malloc 387 libavformat/sdp.c encoded_config = av_malloc(AV_BASE64_SIZE(config_len)); av_malloc 472 libavformat/sdp.c config = av_malloc(6*2+1); av_malloc 218 libavformat/segafilmenc.c buf = av_malloc(shift_size * 2); av_malloc 586 libavformat/segment.c uint8_t *buf = av_malloc(buf_size); av_malloc 191 libavformat/sierravmd.c raw_frame_table = av_malloc(raw_frame_table_size); av_malloc 209 libavformat/smacker.c smk->frm_flags = av_malloc(smk->frames); av_malloc 71 libavformat/smjpegdec.c comment = av_malloc(hlength + 1); av_malloc 99 libavformat/soxdec.c char *comment = av_malloc(comment_size+1); av_malloc 592 libavformat/spdifenc.c ctx->hd_buf[i] = av_malloc(MAT_FRAME_SIZE); av_malloc 146 libavformat/swfdec.c swf->zbuf_in = av_malloc(ZBUF_SIZE); av_malloc 147 libavformat/swfdec.c swf->zbuf_out = av_malloc(ZBUF_SIZE); av_malloc 358 libavformat/swfdec.c zbuf = av_malloc(len); av_malloc 359 libavformat/swfdec.c buf = av_malloc(out_len); av_malloc 92 libavformat/takdec.c buffer = av_malloc(size - 3 + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 45 libavformat/tests/fifo_muxer.c FailingMuxerPacketData *data = av_malloc(sizeof(*data)); av_malloc 98 libavformat/tiertexseq.c seq_buffer->data = av_malloc(sz); av_malloc 193 libavformat/tls_schannel.c init_sec_buffer(&inbuf[0], SECBUFFER_TOKEN, av_malloc(c->enc_buf_offset), c->enc_buf_offset); av_malloc 547 libavformat/tls_schannel.c data = av_malloc(data_size); av_malloc 100 libavformat/tls_securetransport.c if (!(buf = av_malloc(ret))) { av_malloc 45 libavformat/urldecode.c dest = av_malloc(url_len); av_malloc 3329 libavformat/utils.c par->extradata = av_malloc(size + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 4189 libavformat/utils.c st->codec->subtitle_header = av_malloc(st->internal->avctx->subtitle_header_size); av_malloc 5555 libavformat/utils.c uint8_t *data = av_malloc(size); av_malloc 5635 libavformat/utils.c uint8_t *t = av_malloc(new_pkt.size + AV_INPUT_BUFFER_PADDING_SIZE); //the new should be a subset of the old so cannot overflow av_malloc 214 libavformat/vapoursynth.c buf = av_malloc(sz + 1); av_malloc 212 libavformat/vividas.c buf = av_malloc(n); av_malloc 260 libavformat/vividas.c buf = av_malloc(n); av_malloc 61 libavformat/vqf.c buf = av_malloc(len+1); av_malloc 72 libavformat/wavdec.c uint8_t *buf = av_malloc(len); av_malloc 303 libavformat/wavdec.c if (!(coding_history = av_malloc(size + 1))) av_malloc 178 libavformat/wavenc.c wav->peak_output = av_malloc(PEAK_BUFFER_SIZE); av_malloc 130 libavformat/wc3movie.c buffer = av_malloc(size+1); av_malloc 296 libavformat/webmdashenc.c *representation_id = av_malloc(period_pos - underscore_pos + 1); av_malloc 77 libavformat/wsddec.c buf = av_malloc(size + 1); av_malloc 166 libavformat/wtvdec.c wf->sectors = av_malloc(sizeof(uint32_t)); av_malloc 174 libavformat/wtvdec.c wf->sectors = av_malloc(WTV_SECTOR_SIZE); av_malloc 230 libavformat/wtvdec.c buffer = av_malloc(1 << wf->sector_bits); av_malloc 473 libavformat/wtvdec.c buf = av_malloc(buf_size); av_malloc 199 libavresample/audio_data.c a->buffer = av_malloc(new_buf_size); av_malloc 154 libavresample/dither.c state->noise_buf = av_malloc(buf_samples * sizeof(*state->noise_buf)); av_malloc 76 libavresample/resample.c tab = av_malloc(tap_count * sizeof(*tab)); av_malloc 243 libavresample/tests/avresample.c in_buf = av_malloc(in_buf_size); av_malloc 246 libavresample/tests/avresample.c out_buf = av_malloc(out_buf_size); av_malloc 685 libavresample/utils.c avr->mix_matrix = av_malloc(in_channels * out_channels * av_malloc 125 libavutil/avstring.c p = av_malloc(len + 1); av_malloc 141 libavutil/avstring.c char *str = av_malloc(16); av_malloc 151 libavutil/avstring.c char *out = av_malloc(strlen(*buf) + 1); av_malloc 316 libavutil/avstring.c fullpath = av_malloc(p_len + c_len + 2); av_malloc 248 libavutil/bprint.c str = av_malloc(real_size); av_malloc 72 libavutil/buffer.c data = av_malloc(size); av_malloc 138 libavutil/encryption_info.c cur_buffer = buffer = av_malloc(*size); av_malloc 315 libavutil/encryption_info.c cur_buffer = buffer = av_malloc(*side_data_size); av_malloc 693 libavutil/eval.c char *w = av_malloc(strlen(s) + 1); av_malloc 45 libavutil/fifo.c void *buffer = av_malloc(size); av_malloc 129 libavutil/file.c *bufptr = av_malloc(*size); av_malloc 123 libavutil/file_open.c *filename = av_malloc(len); av_malloc 150 libavutil/fixed_dsp.c AVFixedDSPContext * fdsp = av_malloc(sizeof(AVFixedDSPContext)); av_malloc 211 libavutil/hwcontext_opencl.c str = av_malloc(size); av_malloc 232 libavutil/hwcontext_opencl.c str = av_malloc(size); av_malloc 747 libavutil/hwcontext_opencl.c props = av_malloc(props_size); av_malloc 214 libavutil/hwcontext_vaapi.c attr_list = av_malloc(attr_count * sizeof(*attr_list)); av_malloc 347 libavutil/hwcontext_vaapi.c image_list = av_malloc(image_count * sizeof(*image_list)); av_malloc 358 libavutil/hwcontext_vaapi.c ctx->formats = av_malloc(image_count * sizeof(*ctx->formats)); av_malloc 521 libavutil/hwcontext_vaapi.c ctx->attributes = av_malloc(ctx->nb_attributes * av_malloc 559 libavutil/hwcontext_vaapi.c avfc->surface_ids = av_malloc(hwfc->initial_pool_size * av_malloc 677 libavutil/hwcontext_vaapi.c pix_fmts = av_malloc((ctx->nb_formats + 1) * sizeof(*pix_fmts)); av_malloc 769 libavutil/hwcontext_vaapi.c map = av_malloc(sizeof(*map)); av_malloc 695 libavutil/hwcontext_vulkan.c weights = av_malloc(qs[fidx].queueCount * sizeof(float)); \ av_malloc 212 libavutil/imgutils.c buf = av_malloc(ret + align); av_malloc 142 libavutil/internal.h p = av_malloc(size);\ av_malloc 125 libavutil/mem.c ptr= av_malloc(1); av_malloc 187 libavutil/mem.c return av_malloc(result); av_malloc 239 libavutil/mem.c void *ptr = av_malloc(size); av_malloc 289 libavutil/mem.c ptr = av_malloc(size); av_malloc 38 libavutil/mem_internal.h val = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); av_malloc 196 libavutil/opt.c ptr = bin = av_malloc(len); av_malloc 615 libavutil/opt.c ptr = len ? av_malloc(len) : NULL; av_malloc 843 libavutil/opt.c if (!(*out_val = av_malloc(len * 2 + 1))) av_malloc 1528 libavutil/opt.c if (!(*rkey = av_malloc(key_end - key_start + 1))) av_malloc 182 libavutil/samplefmt.c buf = av_malloc(size); av_malloc 38 libavutil/tests/lzo.c uint8_t *orig = av_malloc(MAXSZ + 16); av_malloc 39 libavutil/tests/lzo.c uint8_t *comp = av_malloc(2*MAXSZ + 16); av_malloc 40 libavutil/tests/lzo.c uint8_t *decomp = av_malloc(MAXSZ + 16); av_malloc 76 libavutil/tests/pixelutils.c uint8_t *buf1 = av_malloc(W1*H1); av_malloc 77 libavutil/tests/pixelutils.c uint8_t *buf2 = av_malloc(W2*H2); av_malloc 133 libavutil/tests/pixelutils.c buf1 = av_malloc(size1); av_malloc 134 libavutil/tests/pixelutils.c buf2 = av_malloc(size2); av_malloc 55 libavutil/tx.c if (!(s->pfatab = av_malloc(2*len*sizeof(*s->pfatab)))) av_malloc 98 libavutil/tx.c if (!(s->revtab = av_malloc(m*sizeof(*s->revtab)))) av_malloc 612 libavutil/tx_template.c if (!(s->tmp = av_malloc(n*m*sizeof(*s->tmp)))) av_malloc 664 libpostproc/postprocess.c ppMode= av_malloc(sizeof(PPMode)); av_malloc 60 libswscale/gamma.c GammaContext *li = av_malloc(sizeof(GammaContext)); av_malloc 129 libswscale/hscale.c ColorContext * li = av_malloc(sizeof(ColorContext)); av_malloc 146 libswscale/hscale.c FilterContext *li = av_malloc(sizeof(FilterContext)); av_malloc 237 libswscale/hscale.c ColorContext * li = av_malloc(sizeof(ColorContext)); av_malloc 252 libswscale/hscale.c FilterContext *li = av_malloc(sizeof(FilterContext)); av_malloc 62 libswscale/slice.c s->plane[i].line[j] = av_malloc(size * 2 + 32); av_malloc 914 libswscale/swscale.c rgb0_tmp = av_malloc(FFABS(srcStride[0]) * srcSliceH + 32); av_malloc 930 libswscale/swscale.c rgb0_tmp = av_malloc(FFABS(srcStride[0]) * srcSliceH + 32); av_malloc 40 libswscale/tests/colorspace.c uint8_t *srcBuffer = av_malloc(SIZE); av_malloc 41 libswscale/tests/colorspace.c uint8_t *dstBuffer = av_malloc(SIZE); av_malloc 365 libswscale/tests/swscale.c uint8_t *rgb_data = av_malloc(W * H * 4); av_malloc 368 libswscale/tests/swscale.c uint8_t *data = av_malloc(4 * W * H); av_malloc 1102 libswscale/utils.c tbl = (uint16_t*)av_malloc(sizeof(uint16_t) * 1 << 16); av_malloc 1646 libswscale/utils.c c->lumMmxextFilterCode = av_malloc(c->lumMmxextFilterCodeSize); av_malloc 1647 libswscale/utils.c c->chrMmxextFilterCode = av_malloc(c->chrMmxextFilterCodeSize); av_malloc 1941 libswscale/utils.c SwsFilter *filter = av_malloc(sizeof(SwsFilter)); av_malloc 2026 libswscale/utils.c vec = av_malloc(sizeof(SwsVector)); av_malloc 2030 libswscale/utils.c vec->coeff = av_malloc(sizeof(double) * length); av_malloc 855 libswscale/yuv2rgb.c c->yuvTable = av_malloc(x); \ av_malloc 144 tests/api/api-band-test.c byte_buffer = av_malloc(byte_buffer_size); av_malloc 150 tests/api/api-band-test.c slice_byte_buffer = av_malloc(byte_buffer_size); av_malloc 140 tests/api/api-flac-test.c raw_in = av_malloc(in_frame->linesize[0] * NUMBER_OF_AUDIO_FRAMES); av_malloc 146 tests/api/api-flac-test.c raw_out = av_malloc(in_frame->linesize[0] * NUMBER_OF_AUDIO_FRAMES); av_malloc 139 tests/api/api-h264-slice-test.c nal = av_malloc(MAX_SLICES * UINT16_MAX + AV_INPUT_BUFFER_PADDING_SIZE); av_malloc 101 tests/api/api-h264-test.c byte_buffer = av_malloc(byte_buffer_size); av_malloc 88 tests/api/api-seek-test.c byte_buffer = av_malloc(byte_buffer_size); av_malloc 90 tests/checkasm/vf_blend.c uint8_t *top1 = av_malloc(BUF_SIZE); av_malloc 91 tests/checkasm/vf_blend.c uint8_t *top2 = av_malloc(BUF_SIZE); av_malloc 92 tests/checkasm/vf_blend.c uint8_t *bot1 = av_malloc(BUF_SIZE); av_malloc 93 tests/checkasm/vf_blend.c uint8_t *bot2 = av_malloc(BUF_SIZE); av_malloc 94 tests/checkasm/vf_blend.c uint8_t *dst1 = av_malloc(BUF_SIZE); av_malloc 95 tests/checkasm/vf_blend.c uint8_t *dst2 = av_malloc(BUF_SIZE); av_malloc 38 tests/checkasm/vf_gblur.c float *dst_ref = av_malloc(BUF_SIZE); av_malloc 39 tests/checkasm/vf_gblur.c float *dst_new = av_malloc(BUF_SIZE); av_malloc 705 tools/crypto_bench.c input = av_malloc(MAX_INPUT_SIZE * 2); av_malloc 160 tools/graph2dot.c last_line = first_line = av_malloc(sizeof(struct line)); av_malloc 167 tools/graph2dot.c struct line *new_line = av_malloc(sizeof(struct line)); av_malloc 178 tools/graph2dot.c graph_string = av_malloc(count + 1); av_malloc 122 tools/target_dem_fuzzer.c io_buffer = av_malloc(io_buffer_size); av_malloc 150 tools/zmqsend.c recv_buf = av_malloc(recv_buf_size);