av_malloc 1894 cmdutils.c *bufptr = av_malloc(*size + 1); av_malloc 141 cmdutils_opencl.c if (!(inbuf = av_malloc(buf_size)) || !(mask = av_malloc(mask_size))) { av_malloc 92 doc/examples/avio_reading.c avio_ctx_buffer = av_malloc(avio_ctx_buffer_size); av_malloc 177 doc/examples/decoding_encoding.c samples = av_malloc(buffer_size); av_malloc 634 ffmpeg.c uint8_t *t = av_malloc(new_pkt.size + FF_INPUT_BUFFER_PADDING_SIZE); //the new should be a subset of the old so cannot overflow av_malloc 820 ffmpeg.c subtitle_out = av_malloc(subtitle_out_max_size); av_malloc 2740 ffmpeg.c sd_dst->data = av_malloc(sd_src->size); av_malloc 2027 ffmpeg_opt.c if (!(attachment = av_malloc(len))) { av_malloc 111 ffmpeg_vdpau.c surface = av_malloc(sizeof(*surface)); av_malloc 394 ffplay.c pkt1 = av_malloc(sizeof(MyAVPacketList)); av_malloc 765 ffserver.c c->buffer = av_malloc(c->buffer_size); av_malloc 3201 ffserver.c c->buffer = av_malloc(c->buffer_size); 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 228 libavcodec/a64multienc.c !(c->mc_best_cb = av_malloc(CHARSET_CHARS * 32 * sizeof(int))) || av_malloc 231 libavcodec/a64multienc.c !(c->mc_charset = av_malloc(0x800 * (INTERLACED+1) * sizeof(uint8_t)))) { av_malloc 3256 libavcodec/aacdec.c avctx->extradata = av_malloc(esize + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 116 libavcodec/adpcmenc.c if (!(avctx->extradata = av_malloc(32 + FF_INPUT_BUFFER_PADDING_SIZE))) av_malloc 355 libavcodec/alsdec.c if (!(sconf->chan_pos = av_malloc(avctx->channels * sizeof(*sconf->chan_pos)))) av_malloc 1683 libavcodec/alsdec.c ctx->quant_cof = av_malloc(sizeof(*ctx->quant_cof) * num_buffers); av_malloc 1684 libavcodec/alsdec.c ctx->lpc_cof = av_malloc(sizeof(*ctx->lpc_cof) * num_buffers); av_malloc 1685 libavcodec/alsdec.c ctx->quant_cof_buffer = av_malloc(sizeof(*ctx->quant_cof_buffer) * av_malloc 1687 libavcodec/alsdec.c ctx->lpc_cof_buffer = av_malloc(sizeof(*ctx->lpc_cof_buffer) * av_malloc 1689 libavcodec/alsdec.c ctx->lpc_cof_reversed_buffer = av_malloc(sizeof(*ctx->lpc_cof_buffer) * av_malloc 1707 libavcodec/alsdec.c ctx->const_block = av_malloc (sizeof(*ctx->const_block) * num_buffers); av_malloc 1708 libavcodec/alsdec.c ctx->shift_lsbs = av_malloc (sizeof(*ctx->shift_lsbs) * num_buffers); av_malloc 1709 libavcodec/alsdec.c ctx->opt_order = av_malloc (sizeof(*ctx->opt_order) * num_buffers); av_malloc 1710 libavcodec/alsdec.c ctx->store_prev_samples = av_malloc(sizeof(*ctx->store_prev_samples) * num_buffers); av_malloc 1712 libavcodec/alsdec.c ctx->ltp_lag = av_malloc (sizeof(*ctx->ltp_lag) * num_buffers); av_malloc 1713 libavcodec/alsdec.c ctx->ltp_gain = av_malloc (sizeof(*ctx->ltp_gain) * num_buffers); av_malloc 1714 libavcodec/alsdec.c ctx->ltp_gain_buffer = av_malloc (sizeof(*ctx->ltp_gain_buffer) * av_malloc 1731 libavcodec/alsdec.c ctx->chan_data_buffer = av_malloc(sizeof(*ctx->chan_data_buffer) * av_malloc 1733 libavcodec/alsdec.c ctx->chan_data = av_malloc(sizeof(*ctx->chan_data) * av_malloc 1735 libavcodec/alsdec.c ctx->reverted_channels = av_malloc(sizeof(*ctx->reverted_channels) * av_malloc 1754 libavcodec/alsdec.c ctx->prev_raw_samples = av_malloc (sizeof(*ctx->prev_raw_samples) * sconf->max_order); av_malloc 1756 libavcodec/alsdec.c ctx->raw_samples = av_malloc (sizeof(*ctx-> raw_samples) * avctx->channels); av_malloc 1773 libavcodec/alsdec.c ctx->crc_buffer = av_malloc(sizeof(*ctx->crc_buffer) * av_malloc 146 libavcodec/ass_split.c char *str = av_malloc(len + 1); av_malloc 32 libavcodec/assdec.c avctx->subtitle_header = av_malloc(avctx->extradata_size + 1); av_malloc 37 libavcodec/assenc.c avctx->extradata = av_malloc(avctx->subtitle_header_size + 1); av_malloc 49 libavcodec/audioconvert.c ctx = av_malloc(sizeof(AVAudioConvert)); 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 165 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 123 libavcodec/binkaudio.c s->bands = av_malloc((s->num_bands + 1) * sizeof(*s->bands)); av_malloc 213 libavcodec/cinepakenc.c if (!(s->codebook_input = av_malloc(sizeof(int) * (avctx->pix_fmt == AV_PIX_FMT_RGB24 ? 6 : 4) * (avctx->width * avctx->height) >> 2))) av_malloc 216 libavcodec/cinepakenc.c if (!(s->codebook_closest = av_malloc(sizeof(int) * (avctx->width * avctx->height) >> 2))) av_malloc 220 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 233 libavcodec/cinepakenc.c if (!(s->strip_buf = av_malloc(strip_buf_size))) av_malloc 236 libavcodec/cinepakenc.c if (!(s->frame_buf = av_malloc(frame_buf_size))) av_malloc 425 libavcodec/crystalhd.c priv->orig_extradata = av_malloc(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 142 libavcodec/cscd.c c->decomp_buf = av_malloc(c->decomp_size + AV_LZO_OUTPUT_PADDING); av_malloc 1572 libavcodec/diracdec.c ref->hpel_base[plane][i] = av_malloc((height+2*edge) * ref->avframe->linesize[plane] + 32); av_malloc 402 libavcodec/dnxhdenc.c ctx->thread[i] = av_malloc(sizeof(DNXHDEncContext)); av_malloc 39 libavcodec/dump_extradata_bsf.c *poutbuf= av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 40 libavcodec/dvbsub_parser.c pc->packet_buf = av_malloc(PARSE_BUF_SIZE); av_malloc 849 libavcodec/dvbsubdec.c rect->pict.data[0] = av_malloc(region->buf_size); av_malloc 1085 libavcodec/dvbsubdec.c clut = av_malloc(sizeof(DVBSubCLUT)); av_malloc 1199 libavcodec/dvbsubdec.c region->pbuf = av_malloc(region->buf_size); av_malloc 1418 libavcodec/dvbsubdec.c pbuf = av_malloc(width * height * 4); av_malloc 57 libavcodec/dvdsub_parser.c pc->packet = av_malloc(pc->packet_len); av_malloc 370 libavcodec/dvdsubdec.c bitmap = sub_header->rects[0]->pict.data[0] = av_malloc(w * h); av_malloc 466 libavcodec/dvdsubdec.c bitmap = av_malloc(w * h); av_malloc 667 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 97 libavcodec/escape124.c cb.blocks = av_malloc(size ? size * sizeof(MacroBlock) : 1); av_malloc 126 libavcodec/escape130.c s->old_y_avg = av_malloc(avctx->width * avctx->height / 4); av_malloc 127 libavcodec/escape130.c s->buf1 = av_malloc(avctx->width * avctx->height * 3 / 2); av_malloc 128 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 721 libavcodec/exr.c td->bitmap = av_malloc(BITMAP_SIZE); av_malloc 723 libavcodec/exr.c td->lut = av_malloc(1 << 17); av_malloc 149 libavcodec/fft_template.c s->revtab = av_malloc(n * sizeof(uint16_t)); av_malloc 152 libavcodec/fft_template.c s->tmp_buf = av_malloc(n * sizeof(FFTComplex)); av_malloc 553 libavcodec/ffv1enc.c f->avctx->extradata = av_malloc(f->avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 331 libavcodec/ffwavesynth.c ws->sin = av_malloc(sizeof(*ws->sin) << SIN_BITS); av_malloc 193 libavcodec/flac_parser.c (*end_handle)->link_penalty = av_malloc(sizeof(int) * av_malloc 395 libavcodec/flacenc.c streaminfo = av_malloc(FLAC_STREAMINFO_SIZE); av_malloc 479 libavcodec/flashsv.c s->keyframe = av_malloc(s->frame->linesize[0] * avctx->height); av_malloc 235 libavcodec/gif.c s->buf = av_malloc(avctx->width*avctx->height*2); av_malloc 236 libavcodec/gif.c s->tmpl = av_malloc(avctx->width); av_malloc 40 libavcodec/golomb-test.c temp = av_malloc(SIZE); av_malloc 171 libavcodec/h264_slice.c h->bipred_scratchpad = av_malloc(16 * 6 * alloc_size); av_malloc 439 libavcodec/h264_slice.c to[i] = av_malloc(size); av_malloc 350 libavcodec/hevc.c av_malloc((w * 2 * sps->ctb_height) << av_malloc 353 libavcodec/hevc.c av_malloc((h * 2 * sps->ctb_width) << av_malloc 2421 libavcodec/hevc.c s->sList[i] = av_malloc(sizeof(HEVCContext)); av_malloc 3246 libavcodec/hevc.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 243 libavcodec/iff.c s->mask_buf = av_malloc((s->planesize * 32) + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 251 libavcodec/iff.c s->mask_palbuf = av_malloc((2 << s->bpp) * sizeof(uint32_t) + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 278 libavcodec/iff.c s->ham_buf = av_malloc((s->planesize * 8) + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 283 libavcodec/iff.c s->ham_palbuf = av_malloc((ham_count << !!(s->masking == MASK_HAS_MASK)) * sizeof (uint32_t) + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 369 libavcodec/iff.c s->planebuf = av_malloc(s->planesize + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 123 libavcodec/imdct15.c s->exptab[i] = av_malloc(sizeof(*s->exptab[i]) * FFMAX(N, 19)); av_malloc 387 libavcodec/imgconvert.c buf = av_malloc(width); av_malloc 45 libavcodec/imx_dump_header_bsf.c *poutbuf = av_malloc(buf_size + 20 + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 202 libavcodec/indeo3.c ctx->planes[p].buffers[0] = av_malloc(!p ? luma_size : chroma_size); av_malloc 203 libavcodec/indeo3.c ctx->planes[p].buffers[1] = av_malloc(!p ? luma_size : chroma_size); av_malloc 272 libavcodec/jpeglsenc.c buf2 = av_malloc(pkt->size); av_malloc 599 libavcodec/lcldec.c if (!(c->decomp_buf = av_malloc(max_decomp_size))) { av_malloc 84 libavcodec/libaacplus.c avctx->extradata = av_malloc(decoder_specific_info_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 141 libavcodec/libfaac.c avctx->extradata = av_malloc(decoder_specific_info_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 256 libavcodec/libfdk-aacdec.c s->anc_buffer = av_malloc(DMX_ANC_BUFFSIZE); av_malloc 348 libavcodec/libfdk-aacdec.c s->decoder_buffer = av_malloc(buf_size); av_malloc 272 libavcodec/libopusenc.c avctx->extradata = av_malloc(header_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 115 libavcodec/libschroedingerdec.c in_buf = av_malloc(next_pu_offset); av_malloc 236 libavcodec/libschroedingerdec.c enc_buf->tag = schro_tag_new(av_malloc(sizeof(int64_t)), av_free); av_malloc 282 libavcodec/libschroedingerdec.c framewithpts = av_malloc(sizeof(LibSchroFrameContext)); av_malloc 248 libavcodec/libspeexenc.c avctx->extradata = av_malloc(header_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 379 libavcodec/libstagefright.cpp s->dummy_buf = (uint8_t*)av_malloc(avpkt->size); av_malloc 391 libavcodec/libstagefright.cpp frame->buffer = (uint8_t*)av_malloc(avpkt->size); av_malloc 113 libavcodec/libtheoraenc.c avctx->stats_out = av_malloc(b64_size); av_malloc 136 libavcodec/libtheoraenc.c h->stats = av_malloc(h->stats_size); av_malloc 101 libavcodec/libutvideodec.cpp utv->buffer = (uint8_t *)av_malloc(utv->buf_size * sizeof(uint8_t)); av_malloc 87 libavcodec/libutvideoenc.cpp info = (UtVideoExtra *)av_malloc(sizeof(*info)); av_malloc 103 libavcodec/libutvideoenc.cpp utv->buffer = (uint8_t *)av_malloc(utv->buf_size); av_malloc 233 libavcodec/libvorbisenc.c p = avctx->extradata = av_malloc(avctx->extradata_size + av_malloc 388 libavcodec/libvpxenc.c ctx->twopass_stats.buf = av_malloc(ctx->twopass_stats.sz); av_malloc 633 libavcodec/libvpxenc.c av_malloc(sizeof(struct FrameListData)); av_malloc 641 libavcodec/libvpxenc.c cx_frame->buf = av_malloc(cx_frame->sz); av_malloc 652 libavcodec/libvpxenc.c cx_frame->buf_alpha = av_malloc(cx_frame->sz_alpha); av_malloc 719 libavcodec/libvpxenc.c u_plane = av_malloc(frame->linesize[1] * frame->height); av_malloc 720 libavcodec/libvpxenc.c v_plane = av_malloc(frame->linesize[2] * frame->height); av_malloc 760 libavcodec/libvpxenc.c avctx->stats_out = av_malloc(b64_size); av_malloc 121 libavcodec/libwebpenc.c pic = av_malloc(sizeof(*pic)); av_malloc 702 libavcodec/libx264.c avctx->extradata = p = av_malloc(s); av_malloc 711 libavcodec/libx264.c x4->sei = av_malloc(x4->sei_size); av_malloc 202 libavcodec/libx265.c avctx->extradata = av_malloc(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 373 libavcodec/libxavs.c avctx->extradata = p = av_malloc(s); av_malloc 377 libavcodec/libxavs.c x4->sei = av_malloc( 5 + nal[i].i_payload * 4 / 3 ); av_malloc 289 libavcodec/libxvid.c avctx->extradata = av_malloc(vo_len); av_malloc 501 libavcodec/libxvid.c x->twopassbuffer = av_malloc(BUFFER_SIZE); av_malloc 502 libavcodec/libxvid.c x->old_twopassbuffer = av_malloc(BUFFER_SIZE); av_malloc 629 libavcodec/libxvid.c x->intra_matrix = av_malloc(sizeof(unsigned char) * 64); av_malloc 638 libavcodec/libxvid.c x->inter_matrix = av_malloc(sizeof(unsigned char) * 64); av_malloc 132 libavcodec/libzvbi-teletextdec.c char *vbi_text = av_malloc(TEXT_MAXSZ); av_malloc 461 libavcodec/libzvbi-teletextdec.c sub->rects = av_malloc(sizeof(*sub->rects)); av_malloc 102 libavcodec/mjpeg2jpeg_bsf.c output = out = av_malloc(output_size); av_malloc 47 libavcodec/mjpega_dump_header_bsf.c *poutbuf = av_malloc(buf_size + 44 + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 1790 libavcodec/mjpegdec.c char *cbuf = av_malloc(len - 1); av_malloc 79 libavcodec/mjpegenc.c m = av_malloc(sizeof(MJpegContext)); av_malloc 31 libavcodec/movsub_bsf.c *poutbuf = av_malloc(*poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 49 libavcodec/movsub_bsf.c *poutbuf = av_malloc(*poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 74 libavcodec/mp3_header_decompress_bsf.c *poutbuf= av_malloc(frame_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 2259 libavcodec/mpeg12dec.c s1->a53_caption = av_malloc(s1->a53_caption_size); av_malloc 2277 libavcodec/mpeg12dec.c s1->a53_caption = av_malloc(s1->a53_caption_size); av_malloc 1329 libavcodec/mpeg4videoenc.c s->avctx->extradata = av_malloc(1024); av_malloc 1147 libavcodec/mpegvideo.c er->er_temp_buffer = av_malloc(s->mb_height * s->mb_stride); av_malloc 1377 libavcodec/mpegvideo.c s->thread_context[i] = av_malloc(sizeof(MpegEncContext)); av_malloc 1505 libavcodec/mpegvideo.c s->thread_context[i] = av_malloc(sizeof(MpegEncContext)); av_malloc 1621 libavcodec/mpegvideo.c rl->max_level[last] = av_malloc(MAX_RUN + 1); av_malloc 1626 libavcodec/mpegvideo.c rl->max_run[last] = av_malloc(MAX_LEVEL + 1); av_malloc 1631 libavcodec/mpegvideo.c rl->index_run[last] = av_malloc(MAX_RUN + 1); av_malloc 52 libavcodec/msmpeg4enc.c tab->table_mv_index = av_malloc(sizeof(uint16_t) * 4096); av_malloc 837 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 111 libavcodec/mxpegdec.c s->mxm_bitmask = av_malloc(bitmask_size); av_malloc 186 libavcodec/nellymoserenc.c s->opt = av_malloc(NELLY_BANDS * OPT_SIZE * sizeof(float )); av_malloc 187 libavcodec/nellymoserenc.c s->path = av_malloc(NELLY_BANDS * OPT_SIZE * sizeof(uint8_t)); av_malloc 38 libavcodec/noise_bsf.c *poutbuf= av_malloc(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 195 libavcodec/nvenc.c queue->data = av_malloc(queue->size * sizeof(*(queue->data))); av_malloc 207 libavcodec/nvenc.c new_queue.data = av_malloc(new_queue.size * sizeof(*(queue->data))); av_malloc 728 libavcodec/nvenc.c ctx->input_surfaces = av_malloc(ctx->max_surface_count * sizeof(*ctx->input_surfaces)); av_malloc 735 libavcodec/nvenc.c ctx->output_surfaces = av_malloc(ctx->max_surface_count * sizeof(*ctx->output_surfaces)); av_malloc 149 libavcodec/options.c AVCodecContext *avctx= av_malloc(sizeof(AVCodecContext)); av_malloc 225 libavcodec/options.c dest->obj = av_malloc(size + pad); \ av_malloc 318 libavcodec/options.c ctx->extradata = av_malloc(ctx->extradata_size); av_malloc 207 libavcodec/parser.c *poutbuf = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 48 libavcodec/pcm-dvd.c if (!(s->extra_samples = av_malloc(8 * 3 * 4))) av_malloc 146 libavcodec/pcx.c scanline = av_malloc(bytes_per_scanline + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 468 libavcodec/pngdec.c q = out = av_malloc(size_in + extra + 1); av_malloc 375 libavcodec/pngenc.c crow_base = av_malloc((row_size + 32) << (s->filter_type == PNG_FILTER_VALUE_MIXED)); av_malloc 381 libavcodec/pngenc.c progressive_buf = av_malloc(row_size + 1); av_malloc 386 libavcodec/pngenc.c top_buf = av_malloc(row_size + 1); av_malloc 106 libavcodec/ppc/blockdsp.c register char *fakedata = av_malloc(1024); av_malloc 563 libavcodec/proresenc_anatoliy.c ctx->fill_y = av_malloc(4 * (DEFAULT_SLICE_MB_WIDTH << 8)); av_malloc 1220 libavcodec/proresenc_kostya.c ctx->slice_q = av_malloc(ctx->slices_per_picture * sizeof(*ctx->slice_q)); av_malloc 1233 libavcodec/proresenc_kostya.c ctx->tdata[j].nodes = av_malloc((ctx->slices_width + 1) av_malloc 643 libavcodec/pthread_frame.c AVCodecContext *copy = av_malloc(sizeof(AVCodecContext)); av_malloc 669 libavcodec/pthread_frame.c copy->internal = av_malloc(sizeof(AVCodecInternal)); av_malloc 686 libavcodec/pthread_frame.c copy->priv_data = av_malloc(codec->priv_data_size); av_malloc 309 libavcodec/resample.c s->buffer[0] = av_malloc(s->buffer_size[0]); av_malloc 338 libavcodec/resample.c s->buffer[1] = av_malloc(s->buffer_size[1]); av_malloc 71 libavcodec/roqaudioenc.c context->frame_buffer = av_malloc(8 * ROQ_FRAME_SIZE * avctx->channels * av_malloc 849 libavcodec/roqvideoenc.c roq_cell *results4 = av_malloc(sizeof(roq_cell)*MAX_CBS_4x4*4); av_malloc 1032 libavcodec/roqvideoenc.c enc->tmpData = av_malloc(sizeof(RoqTempdata)); av_malloc 1380 libavcodec/rv34.c r->intra_types_hist = av_malloc(r->intra_types_stride * 4 * 2 * av_malloc 1725 libavcodec/rv34.c r->tmp_b_block_base = av_malloc(s->linesize * 48); av_malloc 155 libavcodec/sgienc.c if (!(encode_buf = av_malloc(width))) av_malloc 323 libavcodec/smacker.c smk->mmap_tbl = av_malloc(sizeof(int) * 2); av_malloc 335 libavcodec/smacker.c smk->mclr_tbl = av_malloc(sizeof(int) * 2); av_malloc 347 libavcodec/smacker.c smk->full_tbl = av_malloc(sizeof(int) * 2); av_malloc 359 libavcodec/smacker.c smk->type_tbl = av_malloc(sizeof(int) * 2); av_malloc 678 libavcodec/svq1dec.c pmv = av_malloc((FFALIGN(s->width, 16) / 8 + 3) * sizeof(*pmv)); av_malloc 1010 libavcodec/svq3.c buf = av_malloc(buf_len); av_malloc 194 libavcodec/tiff.c ap = av_malloc(14); av_malloc 209 libavcodec/tiff.c ap = av_malloc(component_len * count + 1); av_malloc 348 libavcodec/tiff.c zbuf = av_malloc(outlen); av_malloc 413 libavcodec/tiff.c uint8_t *buf = av_malloc(outlen); av_malloc 455 libavcodec/tiff.c uint8_t *src2 = av_malloc((unsigned)size + av_malloc 1100 libavcodec/tiff.c ap = av_malloc(s->geotags[i].count); av_malloc 249 libavcodec/tiff_common.c value = av_malloc(count + 1); av_malloc 378 libavcodec/tiffenc.c zbuf = av_malloc(zlen); av_malloc 407 libavcodec/tiffenc.c s->lzws = av_malloc(ff_lzw_encode_state_size); av_malloc 146 libavcodec/tscc.c if (!(c->decomp_buf = av_malloc(c->decomp_size))) { av_malloc 362 libavcodec/tscc2.c c->slice_quants = av_malloc(c->mb_width * c->mb_height); av_malloc 83 libavcodec/utils.c pthread_mutex_t *tmp = av_malloc(sizeof(pthread_mutex_t)); av_malloc 132 libavcodec/utils.c *p = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); av_malloc 2316 libavcodec/utils.c frame->extended_data = av_malloc(size); av_malloc 178 libavcodec/utvideoenc.c c->slice_buffer[i] = av_malloc(c->slice_stride * (avctx->height + 2) + av_malloc 329 libavcodec/vc1dec.c v->mv_type_mb_plane = av_malloc (s->mb_stride * mb_height); av_malloc 330 libavcodec/vc1dec.c v->direct_mb_plane = av_malloc (s->mb_stride * mb_height); av_malloc 331 libavcodec/vc1dec.c v->forward_mb_plane = av_malloc (s->mb_stride * mb_height); av_malloc 333 libavcodec/vc1dec.c v->acpred_plane = av_malloc (s->mb_stride * mb_height); av_malloc 334 libavcodec/vc1dec.c v->over_flags_plane = av_malloc (s->mb_stride * mb_height); av_malloc 337 libavcodec/vc1dec.c v->block = av_malloc(sizeof(*v->block) * v->n_allocated_blks); av_malloc 338 libavcodec/vc1dec.c v->cbp_base = av_malloc(sizeof(v->cbp_base[0]) * 2 * s->mb_stride); av_malloc 340 libavcodec/vc1dec.c v->ttblk_base = av_malloc(sizeof(v->ttblk_base[0]) * 2 * s->mb_stride); av_malloc 348 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 375 libavcodec/vc1dec.c if (!(v->sr_rows[i >> 1][i & 1] = av_malloc(v->output_width))) av_malloc 200 libavcodec/vda_h264.c if (!(rw_extradata = av_malloc(extradata_size))) av_malloc 428 libavcodec/vda_h264.c if (!(rw_extradata = av_malloc(avctx->extradata_size))) 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 628 libavcodec/vorbisdec.c av_malloc(floor_setup->data.t0.num_books); av_malloc 252 libavcodec/vorbisenc.c venc->codebooks = av_malloc(sizeof(vorbis_enc_codebook) * venc->ncodebooks); av_malloc 291 libavcodec/vorbisenc.c venc->floors = av_malloc(sizeof(vorbis_enc_floor) * venc->nfloors); av_malloc 298 libavcodec/vorbisenc.c fc->partition_to_class = av_malloc(sizeof(int) * fc->partitions); av_malloc 348 libavcodec/vorbisenc.c venc->residues = av_malloc(sizeof(vorbis_enc_residue) * venc->nresidues); av_malloc 360 libavcodec/vorbisenc.c rc->books = av_malloc(sizeof(*rc->books) * rc->classifications); av_malloc 382 libavcodec/vorbisenc.c venc->mappings = av_malloc(sizeof(vorbis_enc_mapping) * venc->nmappings); av_malloc 389 libavcodec/vorbisenc.c mc->mux = av_malloc(sizeof(int) * venc->channels); av_malloc 394 libavcodec/vorbisenc.c mc->floor = av_malloc(sizeof(int) * mc->submaps); av_malloc 395 libavcodec/vorbisenc.c mc->residue = av_malloc(sizeof(int) * mc->submaps); av_malloc 403 libavcodec/vorbisenc.c mc->magnitude = av_malloc(sizeof(int) * mc->coupling_steps); av_malloc 404 libavcodec/vorbisenc.c mc->angle = av_malloc(sizeof(int) * mc->coupling_steps); av_malloc 413 libavcodec/vorbisenc.c venc->modes = av_malloc(sizeof(vorbis_enc_mode) * venc->nmodes); av_malloc 2081 libavcodec/vp3.c s->edge_emu_buffer = av_malloc(9 * FFABS(s->current_frame.f->linesize[0])); av_malloc 484 libavcodec/vp56.c s->edge_emu_buffer_alloc = av_malloc(16*stride); av_malloc 332 libavcodec/vp9.c p = av_malloc(s->sb_cols * (240 + sizeof(*s->lflvl) + 16 * sizeof(*s->above_mv_ctx))); av_malloc 383 libavcodec/vp9.c s->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 1046 libavcodec/webp.c line = av_malloc(img->frame->linesize[0]); av_malloc 62 libavcodec/wmaenc.c extradata = av_malloc(4); av_malloc 76 libavcodec/wnv1.c rbuf = av_malloc(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 97 libavcodec/xan.c s->buffer1 = av_malloc(s->buffer1_size); av_malloc 101 libavcodec/xan.c s->buffer2 = av_malloc(s->buffer2_size + 130); av_malloc 108 libavcodec/xsubdec.c sub->rects[0]->pict.data[0] = av_malloc(w * h); av_malloc 71 libavcodec/xxan.c s->y_buffer = av_malloc(s->buffer_size); av_malloc 74 libavcodec/xxan.c s->scratch_buffer = av_malloc(s->buffer_size + 130); av_malloc 299 libavcodec/zmbvenc.c if (!(c->work_buf = av_malloc(c->comp_size))) { av_malloc 308 libavcodec/zmbvenc.c if (!(c->comp_buf = av_malloc(c->comp_size))) { av_malloc 313 libavcodec/zmbvenc.c if (!(c->prev = av_malloc(c->pstride * avctx->height))) { av_malloc 65 libavdevice/decklink_common.cpp s = (char *) av_malloc(l); av_malloc 91 libavdevice/decklink_dec.cpp pkt1 = (AVPacketList *)av_malloc(sizeof(AVPacketList)); av_malloc 134 libavdevice/dshow.c s = av_malloc(l); av_malloc 331 libavdevice/dshow.c caps = av_malloc(size); av_malloc 891 libavdevice/dshow.c codec->extradata = av_malloc(9 + FF_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_malloc 70 libavdevice/lavfi.c if (!(fmts = av_malloc((count+1) * sizeof(int)))) av_malloc 183 libavdevice/lavfi.c if (!(lavfi->sink_stream_map = av_malloc(sizeof(int) * n))) av_malloc 187 libavdevice/lavfi.c if (!(lavfi->stream_sink_map = av_malloc(sizeof(int) * n))) av_malloc 189 libavdevice/lavfi.c if (!(lavfi->sink_stream_subcc_map = av_malloc(sizeof(int) * n))) av_malloc 766 libavdevice/opengl_enc.c if ((log = av_malloc(result))) { av_malloc 818 libavdevice/opengl_enc.c log = av_malloc(result); av_malloc 80 libavdevice/sndio_common.c s->buffer = av_malloc(s->buffer_size); av_malloc 564 libavdevice/v4l2.c buf_descriptor = av_malloc(sizeof(struct buff_data)); av_malloc 306 libavdevice/vfwcap.c bi = av_malloc(bisize); av_malloc 392 libavdevice/vfwcap.c codec->extradata = av_malloc(9 + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 134 libavfilter/af_amix.c FrameInfo *info = av_malloc(sizeof(*info)); av_malloc 246 libavfilter/af_amix.c s->input_state = av_malloc(s->nb_inputs); av_malloc 241 libavfilter/af_atempo.c field = av_malloc(field_size); \ av_malloc 173 libavfilter/asrc_flite.c if (!(flite->text = av_malloc(textbuf_size+1))) av_malloc 127 libavfilter/asrc_sine.c if (!(sine->sin = av_malloc(sizeof(*sine->sin) << LOG_PERIOD))) av_malloc 201 libavfilter/avf_showspectrum.c s->rdft_data = av_malloc(rdft_listsize); av_malloc 205 libavfilter/avf_showspectrum.c s->rdft_data[i] = av_malloc(rdft_size); av_malloc 49 libavfilter/buffer.c dst->qp_table = av_malloc(qsize); av_malloc 62 libavfilter/buffer.c AVFilterBufferRef *ret = av_malloc(sizeof(AVFilterBufferRef)); av_malloc 71 libavfilter/buffer.c ret->video = av_malloc(sizeof(AVFilterBufferRefVideoProps)); av_malloc 79 libavfilter/buffer.c ret->audio = av_malloc(sizeof(AVFilterBufferRefAudioProps)); av_malloc 226 libavfilter/buffersink.c AVBufferSinkParams *params = av_malloc(sizeof(AVBufferSinkParams)); av_malloc 99 libavfilter/drawutils.c line[plane] = av_malloc(line_size); av_malloc 391 libavfilter/f_sendcmd.c buf = av_malloc(file_bufsize + 1); av_malloc 138 libavfilter/f_zmq.c *buf = av_malloc(*buf_size); av_malloc 146 libavfilter/vf_boxblur.c if (!(s->temp[0] = av_malloc(2*FFMAX(w, h))) || av_malloc 147 libavfilter/vf_boxblur.c !(s->temp[1] = av_malloc(2*FFMAX(w, h)))) av_malloc 92 libavfilter/vf_colorbalance.c buffer = av_malloc(256 * 3 * sizeof(*buffer)); av_malloc 107 libavfilter/vf_colorchannelmixer.c s->buffer = buffer = av_malloc(16 * size * sizeof(*s->buffer)); av_malloc 231 libavfilter/vf_curves.c double *h = av_malloc((n - 1) * sizeof(*h)); av_malloc 544 libavfilter/vf_dctdnoiz.c s->weights = av_malloc(s->pr_height * linesize * sizeof(*s->weights)); av_malloc 104 libavfilter/vf_edgedetect.c plane->tmpbuf = av_malloc(inlink->w * inlink->h); av_malloc 106 libavfilter/vf_edgedetect.c plane->directions = av_malloc(inlink->w * inlink->h); av_malloc 883 libavfilter/vf_fieldmatch.c fm->tbuffer = av_malloc(h/2 * fm->tpitchy); av_malloc 884 libavfilter/vf_fieldmatch.c fm->c_array = av_malloc((((w + fm->blockx/2)/fm->blockx)+1) * av_malloc 177 libavfilter/vf_hqdn3d.c int16_t *ct = av_malloc((512<<LUT_BITS)*sizeof(int16_t)); av_malloc 189 libavfilter/vf_libopencv.c if (!(line = av_malloc(*cols + 1))) av_malloc 72 libavfilter/vf_noise.c int8_t *noise = av_malloc(MAX_NOISE * sizeof(int8_t)); av_malloc 257 libavfilter/vf_pullup.c b->planes[i] = av_malloc(s->planeheight[i] * s->planewidth[i]); av_malloc 260 libavfilter/vf_pullup.c b->planes[1] = av_malloc(4*256); av_malloc 232 libavfilter/vf_removelogo.c *mask = av_malloc(*w * *h); av_malloc 155 libavfilter/vf_sab.c f->pre_filter_buf = av_malloc(linesize * height); av_malloc 365 libavfilter/vf_uspp.c if (!(uspp->outbuf = av_malloc(uspp->outbuf_size))) av_malloc 71 libavfilter/vidstabutils.c vs_malloc = av_malloc; av_malloc 91 libavfilter/vsrc_cellauto.c char *line = av_malloc(cellauto->w + 1); av_malloc 153 libavfilter/vsrc_cellauto.c cellauto->pattern = av_malloc(cellauto->file_bufsize + 1); av_malloc 149 libavfilter/vsrc_life.c char *line = av_malloc(life->w + 1); av_malloc 221 libavformat/4xm.c header = av_malloc(header_size); av_malloc 76 libavformat/aiffdec.c uint8_t *str = av_malloc(size+1); av_malloc 271 libavformat/ape.c ape->frames = av_malloc(ape->totalframes * sizeof(APEFrame)); av_malloc 104 libavformat/apetag.c value = av_malloc(size+1); av_malloc 181 libavformat/apngdec.c st->codec->extradata = av_malloc(len + 12 + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 234 libavformat/asfdec.c desc = av_malloc(desc_len); av_malloc 293 libavformat/asfdec.c value = av_malloc(2 * len + LEN); av_malloc 654 libavformat/asfenc.c asf->index_ptr = av_malloc(sizeof(ASFIndex) * ASF_INDEX_BLOCK); av_malloc 309 libavformat/avidec.c value = av_malloc(size + 1); av_malloc 668 libavformat/avienc.c av_malloc(AVI_INDEX_CLUSTER_SIZE * sizeof(AVIIentry)); av_malloc 446 libavformat/avio.c *handles = av_malloc(sizeof(**handles)); av_malloc 776 libavformat/aviobuf.c buffer = av_malloc(buffer_size); av_malloc 810 libavformat/aviobuf.c buffer = av_malloc(buf_size); av_malloc 826 libavformat/aviobuf.c buffer = av_malloc(buf_size); av_malloc 127 libavformat/bethsoftvid.c vidbuf_start = av_malloc(vidbuf_capacity = BUFFER_PADDING_SIZE); av_malloc 229 libavformat/bethsoftvid.c vid->palette = av_malloc(BVID_PALETTE_SIZE); av_malloc 83 libavformat/bfi.c vstream->codec->extradata = av_malloc(768); av_malloc 127 libavformat/cache.c entry = av_malloc(sizeof(*entry)); av_malloc 249 libavformat/cinedec.c description = av_malloc(DESCRIPTION_SIZE + 1); av_malloc 122 libavformat/concatdec.c if (!(url = av_malloc(url_len))) av_malloc 237 libavformat/crypto.c out_buf = av_malloc(out_size); av_malloc 747 libavformat/dashenc.c extradata = av_malloc(codec->extradata_size); av_malloc 76 libavformat/data_uri.c if (out_size > INT_MAX || !(ddata = av_malloc(out_size))) av_malloc 173 libavformat/dss.c ctx->dss_sp_buf = av_malloc(DSS_FRAME_SIZE + 1); av_malloc 90 libavformat/dtshddec.c value = av_malloc(chunk_size); av_malloc 404 libavformat/ffmdec.c buffer = av_malloc(size + 1); av_malloc 419 libavformat/ffmdec.c buffer = av_malloc(size); av_malloc 434 libavformat/ffmdec.c buffer = av_malloc(size); av_malloc 83 libavformat/ffmetadec.c uint8_t *ret = av_malloc(size + 1); av_malloc 85 libavformat/flac_picture.c if (!(desc = av_malloc(len + 1))) { av_malloc 59 libavformat/flacenc.c p0 = av_malloc(len+4); av_malloc 176 libavformat/flacenc.c c->streaminfo = av_malloc(FLAC_STREAMINFO_SIZE); av_malloc 189 libavformat/gif.c gif->prev_pkt = av_malloc(sizeof(*gif->prev_pkt)); av_malloc 95 libavformat/hdsenc.c os->extra_packets[os->nb_extra_packets] = av_malloc(size); av_malloc 104 libavformat/hdsenc.c os->metadata = av_malloc(os->metadata_size); av_malloc 189 libavformat/hdsenc.c char *base64 = av_malloc(b64_size); av_malloc 639 libavformat/hevc.c dst = av_malloc(src_len); av_malloc 620 libavformat/hls.c seg = av_malloc(sizeof(struct segment)); av_malloc 1337 libavformat/hls.c pls->read_buffer = av_malloc(INITIAL_BUFFER_SIZE); av_malloc 132 libavformat/hlsenc.c path = av_malloc(path_size); av_malloc 188 libavformat/hlsenc.c HLSSegment *en = av_malloc(sizeof(*en)); av_malloc 371 libavformat/hlsenc.c hls->basename = av_malloc(basename_size); av_malloc 152 libavformat/hlsproto.c struct segment *seg = av_malloc(sizeof(struct segment)); av_malloc 162 libavformat/hlsproto.c struct variant *var = av_malloc(sizeof(struct variant)); av_malloc 495 libavformat/http.c *cookies = av_malloc(len); av_malloc 672 libavformat/http.c if (!(*cookies = av_malloc(str_size))) { av_malloc 925 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 453 libavformat/id3v2.c geob_data->data = av_malloc(taglen); av_malloc 698 libavformat/id3v2.c priv->data = av_malloc(taglen); av_malloc 123 libavformat/iff.c uint8_t *buf = ((data_size + 1) == 0) ? NULL : av_malloc(data_size + 1); av_malloc 458 libavformat/iff.c st->codec->extradata = av_malloc(data_size + IFF_EXTRA_VIDEO_SIZE + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 685 libavformat/iff.c st->codec->extradata = av_malloc(IFF_EXTRA_VIDEO_SIZE + FF_INPUT_BUFFER_PADDING_SIZE); 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 64 libavformat/libnut.c .alloc = { av_malloc, av_realloc, av_free }, av_malloc 94 libavformat/libnut.c s[i].fourcc = av_malloc(s[i].fourcc_len); av_malloc 202 libavformat/libnut.c .alloc = { av_malloc, av_realloc, av_free }, av_malloc 158 libavformat/librtmp.c if (!(ctx->temp_filename = filename = av_malloc(len))) av_malloc 88 libavformat/lrcenc.c char *data = av_malloc(pkt->size + 1); av_malloc 838 libavformat/matroskadec.c if (!(res = av_malloc(size + 1))) av_malloc 1237 libavformat/matroskadec.c pkt_data = av_malloc(pkt_size); av_malloc 1689 libavformat/matroskadec.c key_id_base64 = av_malloc(b64_size); av_malloc 554 libavformat/matroskaenc.c data = av_malloc(len + 4); av_malloc 1482 libavformat/matroskaenc.c dst = av_malloc(srclen); av_malloc 80 libavformat/mlvdec.c char * value = av_malloc(size + 1); av_malloc 541 libavformat/mov.c dref->dir = av_malloc(len+1); av_malloc 598 libavformat/mov.c title_str = av_malloc(title_size + 1); /* Add null terminator */ av_malloc 793 libavformat/mov.c comp_brands_str = av_malloc(comp_brand_size + 1); /* Add null terminator */ av_malloc 1758 libavformat/mov.c char *reel_name = av_malloc(str_size + 1); av_malloc 2146 libavformat/mov.c buf = av_malloc(num_bytes+FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 2278 libavformat/mov.c sc->ctts_data = av_malloc(entries * sizeof(*sc->ctts_data)); av_malloc 2805 libavformat/mov.c *p = av_malloc(len + 1); av_malloc 2946 libavformat/mov.c sc->display_matrix = av_malloc(sizeof(int32_t) * 9); av_malloc 3285 libavformat/mov.c cmov_data = av_malloc(cmov_len); av_malloc 3288 libavformat/mov.c moov_data = av_malloc(moov_len); av_malloc 464 libavformat/movenc.c buf = av_malloc(size); av_malloc 1904 libavformat/movenc.c stts_entries = av_malloc(sizeof(*stts_entries)); /* one entry */ av_malloc 4245 libavformat/movenc.c trk->vos_data = av_malloc(trk->vos_len); av_malloc 4299 libavformat/movenc.c trk->vos_data = av_malloc(size); av_malloc 4599 libavformat/movenc.c pkt.data = av_malloc(pkt.size); av_malloc 4648 libavformat/movenc.c pkt.data = av_malloc(pkt.size); av_malloc 4786 libavformat/movenc.c track->vos_data = av_malloc(16*4); av_malloc 5032 libavformat/movenc.c track->vos_data = av_malloc(track->vos_len); av_malloc 5236 libavformat/movenc.c buf = av_malloc(moov_size * 2); av_malloc 131 libavformat/movenchint.c uint8_t *ptr = av_malloc(sample->size); av_malloc 76 libavformat/mpc.c c->frames = av_malloc(c->fcount * sizeof(MPCFrame)); av_malloc 157 libavformat/mpc8.c if(!(buf = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE))) av_malloc 272 libavformat/mpeg.c uint8_t *ps2buf = av_malloc(len); av_malloc 470 libavformat/mpegts.c sec->section_buf = av_malloc(MAX_SECTION_SIZE); av_malloc 620 libavformat/mpegts.c str = av_malloc(len + 1); av_malloc 790 libavformat/mpegts.c PESContext *sub_pes = av_malloc(sizeof(*sub_pes)); av_malloc 1322 libavformat/mpegts.c d->active_descr->dec_config_descr = av_malloc(len); av_malloc 1293 libavformat/mpegtsenc.c data = av_malloc(pkt->size + 6 + extradd); av_malloc 65 libavformat/mvdec.c str = av_malloc(size + 1); av_malloc 815 libavformat/mxfdec.c *str = av_malloc(buf_size); av_malloc 998 libavformat/mxfdec.c descriptor->extradata = av_malloc(size); av_malloc 349 libavformat/nsvdec.c nsv->nsvs_file_offset = av_malloc((unsigned)table_entries_used * sizeof(uint32_t)); av_malloc 358 libavformat/nsvdec.c nsv->nsvs_timestamps = av_malloc((unsigned)table_entries_used*sizeof(uint32_t)); av_malloc 251 libavformat/nutdec.c nut->time_base = av_malloc(nut->time_base_count * sizeof(AVRational)); av_malloc 335 libavformat/nutdec.c hdr = av_malloc(nut->header_len[i]); av_malloc 69 libavformat/oggdec.c av_malloc(sizeof(*ost) + (ogg->nstreams - 1) * sizeof(*ogg->streams)); av_malloc 258 libavformat/oggdec.c os->buf = av_malloc(os->bufsize + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 280 libavformat/oggdec.c uint8_t *nb = av_malloc(os->bufsize + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 419 libavformat/oggdec.c uint8_t *nb = av_malloc((os->bufsize *= 2) + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 48 libavformat/oggparsecelt.c priv = av_malloc(sizeof(struct oggcelt_private)); av_malloc 133 libavformat/oggparsevorbis.c tt = av_malloc(tl + 1); av_malloc 134 libavformat/oggparsevorbis.c ct = av_malloc(vl + 1); av_malloc 156 libavformat/oggparsevorbis.c char *pict = av_malloc(vl); av_malloc 286 libavformat/oggparsevorbis.c os->new_metadata = av_malloc(1); av_malloc 110 libavformat/options.c ic = av_malloc(sizeof(AVFormatContext)); av_malloc 127 libavformat/r3d.c r3d->video_offsets = av_malloc(atom->size); av_malloc 70 libavformat/redspark.c header = av_malloc(HEADER_SIZE + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 161 libavformat/rl2.c chunk_size = av_malloc(frame_count * sizeof(uint32_t)); av_malloc 162 libavformat/rl2.c audio_size = av_malloc(frame_count * sizeof(uint32_t)); av_malloc 163 libavformat/rl2.c chunk_offset = av_malloc(frame_count * sizeof(uint32_t)); av_malloc 370 libavformat/rmenc.c buf1 = av_malloc(size * sizeof(uint8_t)); av_malloc 53 libavformat/rtmpdh.c bn = av_malloc(sizeof(*bn)); \ av_malloc 108 libavformat/rtmpdh.c #define dh_new() av_malloc(sizeof(FF_DH)) av_malloc 1151 libavformat/rtmpproto.c if (!(in_data = av_malloc(in_size))) { av_malloc 1166 libavformat/rtmpproto.c if (!(out_data = av_malloc(8))) { av_malloc 2542 libavformat/rtmpproto.c if (!(rt->flv_data = av_malloc(rt->flv_size + 55))) { av_malloc 2692 libavformat/rtmpproto.c rt->app = av_malloc(APP_MAX_LENGTH); av_malloc 2752 libavformat/rtmpproto.c rt->playpath = av_malloc(PLAYPATH_MAX_LENGTH); av_malloc 2776 libavformat/rtmpproto.c rt->tcurl = av_malloc(TCURL_MAX_LENGTH); av_malloc 2786 libavformat/rtmpproto.c rt->flashver = av_malloc(FLASHVER_MAX_LENGTH); av_malloc 862 libavformat/rtpdec.c if (!(value = av_malloc(value_size))) { av_malloc 154 libavformat/rtpdec_hevc.c codec->extradata = av_malloc(codec->extradata_size + av_malloc 135 libavformat/rtpdec_mpa_robust.c data->split_buf = av_malloc(data->split_buf_size); av_malloc 145 libavformat/rtpdec_mpeg4.c data->au_headers = av_malloc(sizeof(struct AUHeaders) * data->nb_au_headers); av_malloc 141 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 149 libavformat/rtpenc.c s->buf = av_malloc(s1->packet_size); av_malloc 558 libavformat/rtpproto.c int *hs = *handles = av_malloc(sizeof(**handles) * 2); av_malloc 332 libavformat/rtsp.c rtsp_src2 = av_malloc(sizeof(*rtsp_src2)); av_malloc 1185 libavformat/rtsp.c content = av_malloc(content_length + 1); av_malloc 2070 libavformat/rtsp.c rt->recvbuf = av_malloc(RECVBUF_SIZE); av_malloc 2241 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 + c->extradata_size * 2); av_malloc 382 libavformat/sdp.c config = av_malloc(config_len); av_malloc 386 libavformat/sdp.c encoded_config = av_malloc(AV_BASE64_SIZE(config_len)); av_malloc 471 libavformat/sdp.c config = av_malloc(6*2+1); av_malloc 202 libavformat/segafilm.c film->sample_table = av_malloc(film->sample_count * sizeof(film_sample)); av_malloc 503 libavformat/segment.c uint8_t *buf = av_malloc(buf_size); av_malloc 185 libavformat/sierravmd.c raw_frame_table = av_malloc(raw_frame_table_size); av_malloc 186 libavformat/sierravmd.c vmd->frame_table = av_malloc((vmd->frame_count * vmd->frames_per_block + sound_buffers) * sizeof(vmd_frame)); av_malloc 151 libavformat/smacker.c smk->frm_flags = av_malloc(smk->frames); av_malloc 68 libavformat/smjpegdec.c comment = av_malloc(hlength + 1); av_malloc 99 libavformat/soxdec.c char *comment = av_malloc(comment_size+1); av_malloc 467 libavformat/spdifenc.c ctx->hd_buf = av_malloc(MAT_FRAME_SIZE); av_malloc 134 libavformat/swfdec.c swf->zbuf_in = av_malloc(ZBUF_SIZE); av_malloc 135 libavformat/swfdec.c swf->zbuf_out = av_malloc(ZBUF_SIZE); av_malloc 344 libavformat/swfdec.c zbuf = av_malloc(len); av_malloc 345 libavformat/swfdec.c buf = av_malloc(out_len); av_malloc 85 libavformat/takdec.c buffer = av_malloc(size - 3 + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 98 libavformat/tiertexseq.c seq_buffer->data = av_malloc(sz); av_malloc 45 libavformat/urldecode.c dest = av_malloc(url_len); av_malloc 2861 libavformat/utils.c avctx->extradata = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); av_malloc 4456 libavformat/utils.c uint8_t *data = av_malloc(size); av_malloc 61 libavformat/vqf.c buf = av_malloc(len+1); av_malloc 223 libavformat/wavdec.c if (!(coding_history = av_malloc(size + 1))) av_malloc 179 libavformat/wavenc.c wav->peak_output = av_malloc(PEAK_BUFFER_SIZE); av_malloc 130 libavformat/wc3movie.c buffer = av_malloc(size+1); av_malloc 273 libavformat/webmdashenc.c char *q = av_malloc(sizeof(char) * len); av_malloc 169 libavformat/wtvdec.c wf->sectors = av_malloc(sizeof(uint32_t)); av_malloc 177 libavformat/wtvdec.c wf->sectors = av_malloc(WTV_SECTOR_SIZE); av_malloc 233 libavformat/wtvdec.c buffer = av_malloc(1 << wf->sector_bits); av_malloc 478 libavformat/wtvdec.c buf = av_malloc(buf_size); av_malloc 176 libavformat/xwma.c dpds_table = av_malloc(dpds_table_size * sizeof(uint32_t)); av_malloc 198 libavresample/audio_data.c a->buffer = av_malloc(new_buf_size); av_malloc 242 libavresample/avresample-test.c in_buf = av_malloc(in_buf_size); av_malloc 245 libavresample/avresample-test.c out_buf = av_malloc(out_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 684 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 248 libavutil/bprint.c str = av_malloc(real_size); av_malloc 71 libavutil/buffer.c data = av_malloc(size); av_malloc 660 libavutil/eval.c char *w = av_malloc(strlen(s) + 1); av_malloc 45 libavutil/fifo.c void *buffer = av_malloc(size); av_malloc 116 libavutil/file.c *bufptr = av_malloc(*size); av_malloc 153 libavutil/file.c *filename = av_malloc(len); av_malloc 93 libavutil/fixed_dsp.c AVFixedDSPContext * fdsp = av_malloc(sizeof(AVFixedDSPContext)); av_malloc 583 libavutil/frame.c ret->data = av_malloc(size); av_malloc 212 libavutil/imgutils.c buf = av_malloc(ret + align); av_malloc 131 libavutil/internal.h p = av_malloc(size);\ av_malloc 221 libavutil/lzo.c uint8_t *orig = av_malloc(MAXSZ + 16); av_malloc 222 libavutil/lzo.c uint8_t *comp = av_malloc(2*MAXSZ + 16); av_malloc 223 libavutil/lzo.c uint8_t *decomp = av_malloc(MAXSZ + 16); av_malloc 134 libavutil/mem.c ptr= av_malloc(1); av_malloc 156 libavutil/mem.c return av_malloc(size); av_malloc 252 libavutil/mem.c void *ptr = av_malloc(size); av_malloc 301 libavutil/mem.c ptr = av_malloc(size); av_malloc 505 libavutil/mem.c val = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); av_malloc 97 libavutil/mem.h return av_malloc(nmemb * size); av_malloc 325 libavutil/opencl.c pthread_mutex_t *tmp = av_malloc(sizeof(pthread_mutex_t)); av_malloc 145 libavutil/opt.c ptr = bin = av_malloc(len); av_malloc 519 libavutil/opt.c ptr = len ? av_malloc(len) : NULL; av_malloc 721 libavutil/opt.c if (!(*out_val = av_malloc(len*2 + 1))) av_malloc 1352 libavutil/opt.c if (!(*rkey = av_malloc(key_end - key_start + 1))) av_malloc 145 libavutil/pixelutils.c uint8_t *buf1 = av_malloc(W1*H1); av_malloc 146 libavutil/pixelutils.c uint8_t *buf2 = av_malloc(W2*H2); av_malloc 202 libavutil/pixelutils.c buf1 = av_malloc(size1); av_malloc 203 libavutil/pixelutils.c buf2 = av_malloc(size2); av_malloc 180 libavutil/samplefmt.c buf = av_malloc(size); av_malloc 702 libpostproc/postprocess.c ppMode= av_malloc(sizeof(PPMode)); av_malloc 39 libswscale/colorspace-test.c uint8_t *srcBuffer = av_malloc(SIZE); av_malloc 40 libswscale/colorspace-test.c uint8_t *dstBuffer = av_malloc(SIZE); av_malloc 350 libswscale/swscale-test.c uint8_t *rgb_data = av_malloc(W * H * 4); av_malloc 353 libswscale/swscale-test.c uint8_t *data = av_malloc(4 * W * H); av_malloc 1016 libswscale/swscale.c rgb0_tmp = av_malloc(FFABS(srcStride[0]) * srcSliceH + 32); av_malloc 1032 libswscale/swscale.c rgb0_tmp = av_malloc(FFABS(srcStride[0]) * srcSliceH + 32); av_malloc 1294 libswscale/utils.c c->lumMmxextFilterCode = av_malloc(c->lumMmxextFilterCodeSize); av_malloc 1295 libswscale/utils.c c->chrMmxextFilterCode = av_malloc(c->chrMmxextFilterCodeSize); av_malloc 1591 libswscale/utils.c SwsFilter *filter = av_malloc(sizeof(SwsFilter)); av_malloc 1664 libswscale/utils.c vec = av_malloc(sizeof(SwsVector)); av_malloc 1668 libswscale/utils.c vec->coeff = av_malloc(sizeof(double) * length); av_malloc 831 libswscale/yuv2rgb.c c->yuvTable = av_malloc(x); \ av_malloc 441 tools/crypto_bench.c uint8_t *input = av_malloc(MAX_INPUT_SIZE * 2); av_malloc 159 tools/graph2dot.c last_line = first_line = av_malloc(sizeof(struct line)); av_malloc 166 tools/graph2dot.c struct line *new_line = av_malloc(sizeof(struct line)); av_malloc 177 tools/graph2dot.c graph_string = av_malloc(count + 1); av_malloc 247 tools/sidxindex.c adaptation_sets[i] = av_malloc(sizeof(*adaptation_sets[i]) * tracks->nb_tracks); av_malloc 149 tools/zmqsend.c recv_buf = av_malloc(recv_buf_size);