av_mallocz 201 doc/examples/qsvdec.c decoder_ctx->extradata = av_mallocz(video_st->codecpar->extradata_size + av_mallocz 266 fftools/cmdutils.c win32_argv_utf8 = av_mallocz(sizeof(char *) * (win32_argc + 1) + buffsize); av_mallocz 3165 fftools/ffmpeg.c encoder_string = av_mallocz(encoder_string_len); av_mallocz 3436 fftools/ffmpeg.c ost->enc_ctx->subtitle_header = av_mallocz(dec->subtitle_header_size + 1); av_mallocz 200 fftools/ffmpeg_filter.c FilterGraph *fg = av_mallocz(sizeof(*fg)); av_mallocz 207 fftools/ffmpeg_filter.c if (!(fg->outputs[0] = av_mallocz(sizeof(*fg->outputs[0])))) av_mallocz 216 fftools/ffmpeg_filter.c if (!(fg->inputs[0] = av_mallocz(sizeof(*fg->inputs[0])))) av_mallocz 325 fftools/ffmpeg_filter.c if (!(fg->inputs[fg->nb_inputs - 1] = av_mallocz(sizeof(*fg->inputs[0])))) av_mallocz 363 fftools/ffmpeg_filter.c fg->outputs[fg->nb_outputs - 1] = av_mallocz(sizeof(*fg->outputs[0])); av_mallocz 63 fftools/ffmpeg_hw.c hw_devices[nb_hw_devices] = av_mallocz(sizeof(HWDevice)); av_mallocz 770 fftools/ffmpeg_opt.c InputStream *ist = av_mallocz(sizeof(*ist)); av_mallocz 1254 fftools/ffmpeg_opt.c f = av_mallocz(sizeof(*f)); av_mallocz 1428 fftools/ffmpeg_opt.c if (!(ost = av_mallocz(sizeof(*ost)))) av_mallocz 1733 fftools/ffmpeg_opt.c if (!(video_enc->intra_matrix = av_mallocz(sizeof(*video_enc->intra_matrix) * 64))) { av_mallocz 1741 fftools/ffmpeg_opt.c uint16_t *p = av_mallocz(sizeof(*video_enc->chroma_intra_matrix) * 64); av_mallocz 1751 fftools/ffmpeg_opt.c if (!(video_enc->inter_matrix = av_mallocz(sizeof(*video_enc->inter_matrix) * 64))) { av_mallocz 2049 fftools/ffmpeg_opt.c out_ch = av_mallocz(sizeof(AVChapter)); av_mallocz 2147 fftools/ffmpeg_opt.c of = av_mallocz(sizeof(*of)); av_mallocz 3139 fftools/ffmpeg_opt.c ac_str = av_mallocz(ac_str_size); av_mallocz 3160 fftools/ffmpeg_opt.c if (!(filtergraphs[nb_filtergraphs - 1] = av_mallocz(sizeof(*filtergraphs[0])))) av_mallocz 3179 fftools/ffmpeg_opt.c if (!(filtergraphs[nb_filtergraphs - 1] = av_mallocz(sizeof(*filtergraphs[0])))) av_mallocz 128 fftools/ffmpeg_videotoolbox.c vt = av_mallocz(sizeof(*vt)); av_mallocz 3080 fftools/ffplay.c is = av_mallocz(sizeof(VideoState)); av_mallocz 549 fftools/ffprobe.c if (!(*wctx = av_mallocz(sizeof(WriterContext)))) { av_mallocz 554 fftools/ffprobe.c if (!((*wctx)->priv = av_mallocz(writer->priv_size))) { av_mallocz 1006 libavcodec/4xm.c f->frame_buffer = av_mallocz(avctx->width * avctx->height * 2); av_mallocz 1007 libavcodec/4xm.c f->last_frame_buffer = av_mallocz(avctx->width * avctx->height * 2); av_mallocz 231 libavcodec/a64multienc.c !(c->mc_colram = av_mallocz(CHARSET_CHARS * sizeof(uint8_t))) || av_mallocz 238 libavcodec/a64multienc.c if (!(avctx->extradata = av_mallocz(8 * 4 + AV_INPUT_BUFFER_PADDING_SIZE))) { av_mallocz 135 libavcodec/aacdec_template.c if (!(ac->che[type][id] = av_mallocz(sizeof(ChannelElement)))) av_mallocz 102 libavcodec/aacenc.c avctx->extradata = av_mallocz(max_size); av_mallocz 311 libavcodec/aacpsy.c ctx->model_priv_data = av_mallocz(sizeof(AacPsyContext)); av_mallocz 160 libavcodec/ac3_parser.c *phdr = av_mallocz(sizeof(AC3HeaderInfo)); av_mallocz 539 libavcodec/alacenc.c avctx->extradata = av_mallocz(ALAC_EXTRADATA_SIZE + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2110 libavcodec/alsdec.c ctx->mlz = av_mallocz(sizeof(*ctx->mlz)); av_mallocz 347 libavcodec/amfenc_h264.c avctx->extradata = av_mallocz(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 282 libavcodec/amfenc_hevc.c avctx->extradata = av_mallocz(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 129 libavcodec/ass.c rects[sub->num_rects] = av_mallocz(sizeof(*rects[0])); av_mallocz 376 libavcodec/ass_split.c ASSSplitContext *ctx = av_mallocz(sizeof(*ctx)); av_mallocz 459 libavcodec/ass_split.c ASSDialog *dialog = av_mallocz(sizeof(*dialog)); av_mallocz 52 libavcodec/assdec.c sub->rects[0] = av_mallocz(sizeof(*sub->rects[0])); av_mallocz 332 libavcodec/asvenc.c avctx->extradata = av_mallocz(8); av_mallocz 970 libavcodec/atrac3.c q->decoded_bytes_buffer = av_mallocz(FFALIGN(avctx->block_align, 4) + av_mallocz 402 libavcodec/audiotoolboxdec.c at->extradata = av_mallocz(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 491 libavcodec/audiotoolboxdec.c at->extradata = av_mallocz(side_data_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 385 libavcodec/audiotoolboxenc.c if (!(avctx->extradata = av_mallocz(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE))) av_mallocz 77 libavcodec/avdct.c AVDCT *dsp = av_mallocz(sizeof(AVDCT)); av_mallocz 30 libavcodec/avfft.c FFTContext *s = av_mallocz(sizeof(*s)); av_mallocz 55 libavcodec/avpacket.c AVPacket *pkt = av_mallocz(sizeof(AVPacket)); av_mallocz 340 libavcodec/avpacket.c data = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 475 libavcodec/avpacket.c pkt->side_data[i].data = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 33 libavcodec/avuienc.c if (!(avctx->extradata = av_mallocz(144 + AV_INPUT_BUFFER_PADDING_SIZE))) av_mallocz 44 libavcodec/bfi.c bfi->dst = av_mallocz(avctx->width * avctx->height); av_mallocz 188 libavcodec/bink.c c->bundle[i].data = av_mallocz(blocks * 64); av_mallocz 61 libavcodec/bitstream_filter.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 65 libavcodec/bitstream_filter.c priv = av_mallocz(sizeof(*priv)); av_mallocz 172 libavcodec/bitstream_filter.c avctx->extradata = av_mallocz(priv->ctx->par_out->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 97 libavcodec/bsf.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 111 libavcodec/bsf.c bsfi = av_mallocz(sizeof(*bsfi)); av_mallocz 126 libavcodec/bsf.c ctx->priv_data = av_mallocz(filter->priv_data_size); av_mallocz 415 libavcodec/bsf.c return av_mallocz(sizeof(AVBSFList)); av_mallocz 762 libavcodec/cavs.c h->top_qp = av_mallocz(h->mb_width); av_mallocz 773 libavcodec/cavs.c h->col_type_base = av_mallocz(h->mb_width * h->mb_height); av_mallocz 774 libavcodec/cavs.c h->block = av_mallocz(64 * sizeof(int16_t)); av_mallocz 1027 libavcodec/cavsdec.c h->edge_emu_buffer = av_mallocz(alloc_size * 2 * 24); av_mallocz 91 libavcodec/cbs.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 99 libavcodec/cbs.c ctx->priv_data = av_mallocz(ctx->codec->priv_data_size); av_mallocz 651 libavcodec/cbs.c unit->content = av_mallocz(size); av_mallocz 1557 libavcodec/cbs_h2645.c sei = av_mallocz(sizeof(*sei)); av_mallocz 1244 libavcodec/cook.c av_mallocz(avctx->block_align av_mallocz 188 libavcodec/crystalhd.c OpaqueList *newNode = av_mallocz(sizeof (OpaqueList)); av_mallocz 961 libavcodec/cuviddec.c ctx->key_frame = av_mallocz(ctx->nb_surfaces * sizeof(int)); av_mallocz 35 libavcodec/d3d11va.c AVD3D11VAContext* res = av_mallocz(sizeof(AVD3D11VAContext)); av_mallocz 1246 libavcodec/decode.c av_mallocz(hwaccel->priv_data_size); av_mallocz 1429 libavcodec/decode.c FramePool *pool = av_mallocz(sizeof(*pool)); av_mallocz 1838 libavcodec/decode.c fdd = av_mallocz(sizeof(*fdd)); av_mallocz 49 libavcodec/dfa.c s->frame_buf = av_mallocz(avctx->width * avctx->height); av_mallocz 334 libavcodec/dirac.c dsh = av_mallocz(sizeof(*dsh)); av_mallocz 58 libavcodec/dsicinvideo.c cin->bitmap_table[i] = av_mallocz(cin->bitmap_size); av_mallocz 766 libavcodec/dvbsubdec.c sub->rects[i] = av_mallocz(sizeof(*sub->rects[i])); av_mallocz 811 libavcodec/dvbsubdec.c rect->data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 1166 libavcodec/dvbsubdec.c region = av_mallocz(sizeof(DVBSubRegion)); av_mallocz 1247 libavcodec/dvbsubdec.c object = av_mallocz(sizeof(DVBSubObject)); av_mallocz 1258 libavcodec/dvbsubdec.c display = av_mallocz(sizeof(DVBSubObjectDisplay)); av_mallocz 1355 libavcodec/dvbsubdec.c display = av_mallocz(sizeof(DVBSubRegionDisplay)); av_mallocz 1569 libavcodec/dvbsubdec.c display_def = av_mallocz(sizeof(*display_def)); av_mallocz 374 libavcodec/dvdsubdec.c sub_header->rects = av_mallocz(sizeof(*sub_header->rects)); av_mallocz 377 libavcodec/dvdsubdec.c sub_header->rects[0] = av_mallocz(sizeof(AVSubtitleRect)); av_mallocz 390 libavcodec/dvdsubdec.c sub_header->rects[0]->data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 319 libavcodec/eatgv.c !(s->frame_buffer = av_mallocz(s->width * s->height))) av_mallocz 130 libavcodec/ffv1.c FFV1Context *fs = av_mallocz(sizeof(*fs)); av_mallocz 784 libavcodec/ffv1enc.c s->rc_stat2[i] = av_mallocz(s->context_count[i] * av_mallocz 910 libavcodec/ffv1enc.c avctx->stats_out = av_mallocz(STATS_OUT_SIZE); av_mallocz 917 libavcodec/ffv1enc.c sf->rc_stat2[i] = av_mallocz(s->context_count[i] * av_mallocz 186 libavcodec/flac_parser.c *end_handle = av_mallocz(sizeof(**end_handle)); av_mallocz 364 libavcodec/flashsv.c s->blocks = av_mallocz((v_blocks + !!v_part) * (h_blocks + !!h_part) * av_mallocz 227 libavcodec/flashsv2enc.c s->encbuffer = av_mallocz(s->frame_size); av_mallocz 228 libavcodec/flashsv2enc.c s->keybuffer = av_mallocz(s->frame_size); av_mallocz 229 libavcodec/flashsv2enc.c s->databuffer = av_mallocz(s->frame_size * 6); av_mallocz 230 libavcodec/flashsv2enc.c s->current_frame = av_mallocz(s->frame_size); av_mallocz 231 libavcodec/flashsv2enc.c s->key_frame = av_mallocz(s->frame_size); av_mallocz 232 libavcodec/flashsv2enc.c s->frame_blocks = av_mallocz(s->blocks_size); av_mallocz 233 libavcodec/flashsv2enc.c s->key_blocks = av_mallocz(s->blocks_size); av_mallocz 124 libavcodec/flashsvenc.c s->tmpblock = av_mallocz(3 * 256 * 256); av_mallocz 125 libavcodec/flashsvenc.c s->encbuffer = av_mallocz(s->image_width * s->image_height * 3); av_mallocz 222 libavcodec/flashsvenc.c s->previous_frame = av_mallocz(FFABS(p->linesize[0]) * s->image_height); av_mallocz 608 libavcodec/fmvc.c s->buffer = av_mallocz(s->buffer_size); av_mallocz 609 libavcodec/fmvc.c s->pbuffer = av_mallocz(s->pbuffer_size); av_mallocz 178 libavcodec/frame_thread_encoder.c c = avctx->internal->frame_thread_encoder = av_mallocz(sizeof(ThreadContext)); av_mallocz 457 libavcodec/g2meet.c new_elem = av_mallocz(sizeof(*new_elem)); av_mallocz 1203 libavcodec/g2meet.c c->synth_tile = av_mallocz(c->tile_stride * aligned_height); av_mallocz 1204 libavcodec/g2meet.c c->jpeg_tile = av_mallocz(c->tile_stride * aligned_height); av_mallocz 1205 libavcodec/g2meet.c c->kempf_buf = av_mallocz((c->tile_width + 1) * aligned_height + av_mallocz 1207 libavcodec/g2meet.c c->kempf_flags = av_mallocz(c->tile_width * aligned_height); av_mallocz 1212 libavcodec/g2meet.c c->epic_buf_base = av_mallocz(c->epic_buf_stride * aligned_height + 4); av_mallocz 365 libavcodec/g729dec.c s->channel_context = av_mallocz(sizeof(G729ChannelContext) * avctx->channels); av_mallocz 396 libavcodec/gif.c s->lzw = av_mallocz(ff_lzw_encode_state_size); av_mallocz 367 libavcodec/h2645_parse.c rbsp->rbsp_buffer = av_mallocz(size); av_mallocz 435 libavcodec/h264_parse.c escaped_buf = av_mallocz(escaped_buf_size); av_mallocz 765 libavcodec/h264_ps.c pps = av_mallocz(sizeof(*pps)); av_mallocz 1505 libavcodec/hevc_ps.c HEVCPPS *pps = av_mallocz(sizeof(*pps)); av_mallocz 111 libavcodec/hevcdec.c s->tab_ipm = av_mallocz(min_pu_size); av_mallocz 116 libavcodec/hevcdec.c s->filter_slice_edges = av_mallocz(ctb_count); av_mallocz 2596 libavcodec/hevcdec.c s->HEVClcList[i] = av_mallocz(sizeof(HEVCLocalContext)); av_mallocz 3356 libavcodec/hevcdec.c s->HEVClc = av_mallocz(sizeof(HEVCLocalContext)); av_mallocz 481 libavcodec/hnm4video.c hnm->buffer1 = av_mallocz(avctx->width * avctx->height); av_mallocz 482 libavcodec/hnm4video.c hnm->buffer2 = av_mallocz(avctx->width * avctx->height); av_mallocz 483 libavcodec/hnm4video.c hnm->processed = av_mallocz(avctx->width * avctx->height); av_mallocz 121 libavcodec/huffyuvdec.c uint16_t *symbols = av_mallocz(5 << VLC_BITS); av_mallocz 213 libavcodec/huffyuvenc.c avctx->extradata = av_mallocz(3*MAX_N + 4); av_mallocz 216 libavcodec/huffyuvenc.c avctx->stats_out = av_mallocz(STATS_OUT_SIZE); // 21*256*3(%llu ) + 3(\n) + 1(0) = 16132 av_mallocz 206 libavcodec/iirfilter.c FFIIRFilterState *s = av_mallocz(sizeof(FFIIRFilterState) + sizeof(s->x[0]) * (order - 1)); av_mallocz 746 libavcodec/intrax8.c w->prediction_table = av_mallocz(w->mb_width * 2 * 2); av_mallocz 940 libavcodec/ivi.c band->bufs[i] = av_mallocz(2 * band->bufsize); av_mallocz 368 libavcodec/jpeg2000dec.c tile->comp = av_mallocz(s->ncomponents * sizeof(*tile->comp)); av_mallocz 357 libavcodec/jpeglsdec.c zero = av_mallocz(s->picture_ptr->linesize[0]); av_mallocz 363 libavcodec/jpeglsdec.c state = av_mallocz(sizeof(JLSState)); av_mallocz 320 libavcodec/jpeglsenc.c state = av_mallocz(sizeof(JLSState)); av_mallocz 332 libavcodec/jpeglsenc.c zero = last = av_mallocz(FFABS(p->linesize[0])); av_mallocz 76 libavcodec/kgv1dec.c c->frame_buffer = av_mallocz(avctx->width * avctx->height * 2); av_mallocz 77 libavcodec/kgv1dec.c c->last_frame_buffer = av_mallocz(avctx->width * avctx->height * 2); av_mallocz 120 libavcodec/lclenc.c avctx->extradata = av_mallocz(8 + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 311 libavcodec/libaribb24.c if (!(decoded_subtitle = av_mallocz(decoded_subtitle_size + 1))) { av_mallocz 117 libavcodec/libcodec2.c avctx->extradata = av_mallocz(AVPRIV_CODEC2_EXTRADATA_SIZE + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 337 libavcodec/libfdk-aacenc.c avctx->extradata = av_mallocz(avctx->extradata_size + av_mallocz 132 libavcodec/libkvazaar.c avctx->extradata = p = av_mallocz(len_out + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 344 libavcodec/libopenh264enc.c avctx->extradata = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 358 libavcodec/libx264.c x4->pic.extra_sei.payloads = av_mallocz(sizeof(x4->pic.extra_sei.payloads[0])); av_mallocz 930 libavcodec/libx264.c avctx->extradata = p = av_mallocz(s + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 469 libavcodec/libzvbi-teletextdec.c sub_rect->data[0] = av_mallocz(resx * resy); av_mallocz 485 libavcodec/libzvbi-teletextdec.c sub_rect->data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 543 libavcodec/libzvbi-teletextdec.c cur_page->sub_rect = av_mallocz(sizeof(*cur_page->sub_rect)); av_mallocz 307 libavcodec/lpc.c s->windowed_buffer = av_mallocz((blocksize + 2 + FFALIGN(max_order, 4)) * av_mallocz 115 libavcodec/lzw.c *p = av_mallocz(sizeof(struct LZWState)); av_mallocz 219 libavcodec/magicyuvenc.c avctx->extradata = av_mallocz(avctx->extradata_size + av_mallocz 259 libavcodec/mdct15.c s = av_mallocz(sizeof(*s)); av_mallocz 42 libavcodec/mediacodec.c return av_mallocz(sizeof(AVMediaCodecContext)); av_mallocz 618 libavcodec/mediacodec_wrapper.c format = av_mallocz(sizeof(FFAMediaFormat)); av_mallocz 662 libavcodec/mediacodec_wrapper.c format = av_mallocz(sizeof(FFAMediaFormat)); av_mallocz 1189 libavcodec/mediacodec_wrapper.c codec = av_mallocz(sizeof(FFAMediaCodec)); av_mallocz 243 libavcodec/mediacodecdec.c data = av_mallocz(data_size); av_mallocz 368 libavcodec/mediacodecdec.c s->ctx = av_mallocz(sizeof(*s->ctx)); av_mallocz 307 libavcodec/mediacodecdec_common.c buffer = av_mallocz(sizeof(AVMediaCodecBuffer)); av_mallocz 145 libavcodec/mfenc.c avctx->extradata = av_mallocz(sz + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 183 libavcodec/mfenc.c uint8_t *extradata = av_mallocz(sz + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 765 libavcodec/mjpegdec.c av_mallocz(s->avctx->hwaccel->frame_priv_data_size); av_mallocz 2087 libavcodec/mjpegdec.c s->iccdata = av_mallocz(nummarkers * sizeof(*(s->iccdata))); av_mallocz 2088 libavcodec/mjpegdec.c s->iccdatalens = av_mallocz(nummarkers * sizeof(*(s->iccdatalens))); av_mallocz 82 libavcodec/mjpegenc.c m = av_mallocz(sizeof(MJpegContext)); av_mallocz 124 libavcodec/mmaldec.c FFBufferRef *ref = av_mallocz(sizeof(*ref)); av_mallocz 283 libavcodec/mmaldec.c if (!(ctx->pool_out = av_mallocz(sizeof(*ctx->pool_out)))) { av_mallocz 522 libavcodec/mmaldec.c FFBufferEntry *buffer = av_mallocz(sizeof(*buffer)); av_mallocz 236 libavcodec/movtextdec.c m->ftab_temp = av_mallocz(sizeof(*m->ftab_temp)); av_mallocz 342 libavcodec/movtextenc.c avctx->extradata = av_mallocz(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 361 libavcodec/movtextenc.c s->style_attributes_temp = av_mallocz(sizeof(*s->style_attributes_temp)); av_mallocz 2268 libavcodec/mpeg12dec.c s1->a53_caption = av_mallocz(s1->a53_caption_size); av_mallocz 116 libavcodec/mpeg_er.c er->error_status_table = av_mallocz(mb_array_size); av_mallocz 1890 libavcodec/mpegaudiodec_template.c s->mp3decctx[0] = av_mallocz(sizeof(MPADecodeContext)); av_mallocz 1904 libavcodec/mpegaudiodec_template.c s->mp3decctx[i] = av_mallocz(sizeof(MPADecodeContext)); av_mallocz 830 libavcodec/mss2.c c->pal_pic = av_mallocz(c->pal_stride * avctx->height); av_mallocz 831 libavcodec/mss2.c c->last_pal_pic = av_mallocz(c->pal_stride * avctx->height); av_mallocz 119 libavcodec/mxpegdec.c s->completion_bitmask = av_mallocz(bitmask_size); av_mallocz 187 libavcodec/nvdec.c decoder = av_mallocz(sizeof(*decoder)); av_mallocz 415 libavcodec/nvdec.c pool = av_mallocz(sizeof(*pool)); av_mallocz 503 libavcodec/nvdec.c unmap_data = av_mallocz(sizeof(*unmap_data)); av_mallocz 563 libavcodec/nvdec.c cf = av_mallocz(sizeof(*cf)); av_mallocz 1456 libavcodec/nvenc.c avctx->extradata = av_mallocz(outSize + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 1863 libavcodec/nvenc.c slice_offsets = av_mallocz(slice_mode_data * sizeof(*slice_offsets)); av_mallocz 155 libavcodec/omx.c omx_context = av_mallocz(sizeof(*omx_context)); av_mallocz 360 libavcodec/omx.c components[i] = av_mallocz(OMX_MAX_STRINGNAME_SIZE); av_mallocz 547 libavcodec/omx.c s->in_buffer_headers = av_mallocz(sizeof(OMX_BUFFERHEADERTYPE*) * s->num_in_buffers); av_mallocz 548 libavcodec/omx.c s->free_in_buffers = av_mallocz(sizeof(OMX_BUFFERHEADERTYPE*) * s->num_in_buffers); av_mallocz 549 libavcodec/omx.c s->out_buffer_headers = av_mallocz(sizeof(OMX_BUFFERHEADERTYPE*) * s->num_out_buffers); av_mallocz 550 libavcodec/omx.c s->done_out_buffers = av_mallocz(sizeof(OMX_BUFFERHEADERTYPE*) * s->num_out_buffers); av_mallocz 128 libavcodec/options.c s->priv_data= av_mallocz(codec->priv_data_size); av_mallocz 550 libavcodec/opus_celt.c frm = av_mallocz(sizeof(*frm)); av_mallocz 870 libavcodec/opus_silk.c s = av_mallocz(sizeof(*s)); av_mallocz 531 libavcodec/opusenc_psy.c s->inflection_points = av_mallocz(sizeof(*s->inflection_points)*s->max_steps); av_mallocz 551 libavcodec/opusenc_psy.c s->steps[i] = av_mallocz(sizeof(OpusPsyStep)); av_mallocz 106 libavcodec/pafvideo.c c->frame[i] = av_mallocz(c->frame_size); av_mallocz 55 libavcodec/parser.c s = av_mallocz(sizeof(AVCodecParserContext)); av_mallocz 59 libavcodec/parser.c s->priv_data = av_mallocz(parser->priv_data_size); av_mallocz 536 libavcodec/pgssubdec.c sub->rects[i] = av_mallocz(sizeof(*sub->rects[0])); av_mallocz 591 libavcodec/pgssubdec.c sub->rects[i]->data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 1302 libavcodec/proresenc_kostya.c ctx->tdata = av_mallocz(avctx->thread_count * sizeof(*ctx->tdata)); av_mallocz 108 libavcodec/psymodel.c ctx = av_mallocz(sizeof(FFPsyPreprocessContext)); av_mallocz 774 libavcodec/pthread_frame.c avctx->internal->thread_ctx = fctx = av_mallocz(sizeof(FrameThreadContext)); av_mallocz 835 libavcodec/pthread_frame.c copy->priv_data = av_mallocz(codec->priv_data_size); av_mallocz 157 libavcodec/pthread_slice.c avctx->internal->thread_ctx = c = av_mallocz(sizeof(*c)); av_mallocz 32 libavcodec/qsv_api.c return av_mallocz(sizeof(AVQSVContext)); av_mallocz 370 libavcodec/qsvdec.c frame = av_mallocz(sizeof(*frame)); av_mallocz 420 libavcodec/qsvdec.c sync = av_mallocz(sizeof(*sync)); av_mallocz 1281 libavcodec/qsvenc.c frame = av_mallocz(sizeof(*frame)); av_mallocz 1289 libavcodec/qsvenc.c frame->enc_ctrl.Payload = av_mallocz(sizeof(mfxPayload*) * QSV_MAX_ENC_PAYLOAD); av_mallocz 1433 libavcodec/qsvenc.c bs = av_mallocz(sizeof(*bs)); av_mallocz 1443 libavcodec/qsvenc.c enc_info = av_mallocz(sizeof(*enc_info)); av_mallocz 1450 libavcodec/qsvenc.c enc_buf = av_mallocz(sizeof(mfxExtBuffer *)); av_mallocz 1463 libavcodec/qsvenc.c sync = av_mallocz(sizeof(*sync)); av_mallocz 151 libavcodec/qsvenc_hevc.c new_extradata = av_mallocz(vps_size + avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 111 libavcodec/qtrleenc.c s->rlecode_table = av_mallocz(s->logical_width); av_mallocz 112 libavcodec/qtrleenc.c s->skip_table = av_mallocz(s->logical_width); av_mallocz 555 libavcodec/ratecontrol.c rcc->entry = av_mallocz(i * sizeof(RateControlEntry)); av_mallocz 164 libavcodec/rkmppdec.c decoder = av_mallocz(sizeof(RKMPPDecoder)); av_mallocz 416 libavcodec/rkmppdec.c desc = av_mallocz(sizeof(AVDRMFrameDescriptor)); av_mallocz 169 libavcodec/rl2.c uint8_t *back_frame = av_mallocz(avctx->width*avctx->height); av_mallocz 1380 libavcodec/rv34.c r->cbp_chroma = av_mallocz(r->s.mb_stride * r->s.mb_height * av_mallocz 1382 libavcodec/rv34.c r->cbp_luma = av_mallocz(r->s.mb_stride * r->s.mb_height * av_mallocz 1384 libavcodec/rv34.c r->deblock_coefs = av_mallocz(r->s.mb_stride * r->s.mb_height * av_mallocz 1388 libavcodec/rv34.c r->mb_type = av_mallocz(r->s.mb_stride * r->s.mb_height * av_mallocz 205 libavcodec/smacker.c tmp1.bits = av_mallocz(256 * 4); av_mallocz 206 libavcodec/smacker.c tmp1.lengths = av_mallocz(256 * sizeof(int)); av_mallocz 207 libavcodec/smacker.c tmp1.values = av_mallocz(256 * sizeof(int)); av_mallocz 212 libavcodec/smacker.c tmp2.bits = av_mallocz(256 * 4); av_mallocz 213 libavcodec/smacker.c tmp2.lengths = av_mallocz(256 * sizeof(int)); av_mallocz 214 libavcodec/smacker.c tmp2.values = av_mallocz(256 * sizeof(int)); av_mallocz 697 libavcodec/smacker.c h[i].bits = av_mallocz(256 * 4); av_mallocz 698 libavcodec/smacker.c h[i].lengths = av_mallocz(256 * sizeof(int)); av_mallocz 699 libavcodec/smacker.c h[i].values = av_mallocz(256 * sizeof(int)); av_mallocz 89 libavcodec/snowenc.c s->m.me.map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); av_mallocz 90 libavcodec/snowenc.c s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); av_mallocz 91 libavcodec/snowenc.c s->m.sc.obmc_scratchpad= av_mallocz(MB_SIZE*MB_SIZE*12*sizeof(uint32_t)); av_mallocz 101 libavcodec/snowenc.c avctx->stats_out = av_mallocz(256); av_mallocz 672 libavcodec/sonic.c avctx->extradata = av_mallocz(16); av_mallocz 48 libavcodec/sp5xdec.c recoded = av_mallocz(buf_size + 1024); av_mallocz 300 libavcodec/svq1enc.c s->motion_val8[plane] = av_mallocz((s->m.b8_stride * av_mallocz 303 libavcodec/svq1enc.c s->motion_val16[plane] = av_mallocz((s->m.mb_stride * av_mallocz 555 libavcodec/svq1enc.c s->m.me.scratchpad = av_mallocz((avctx->width + 64) * av_mallocz 557 libavcodec/svq1enc.c s->m.me.map = av_mallocz(ME_MAP_SIZE * sizeof(uint32_t)); av_mallocz 558 libavcodec/svq1enc.c s->m.me.score_map = av_mallocz(ME_MAP_SIZE * sizeof(uint32_t)); av_mallocz 559 libavcodec/svq1enc.c s->mb_type = av_mallocz((s->y_block_width + 1) * av_mallocz 561 libavcodec/svq1enc.c s->dummy = av_mallocz((s->y_block_width + 1) * av_mallocz 1138 libavcodec/svq3.c s->cur_pic = av_mallocz(sizeof(*s->cur_pic)); av_mallocz 1139 libavcodec/svq3.c s->last_pic = av_mallocz(sizeof(*s->last_pic)); av_mallocz 1140 libavcodec/svq3.c s->next_pic = av_mallocz(sizeof(*s->next_pic)); av_mallocz 1321 libavcodec/svq3.c s->intra4x4_pred_mode = av_mallocz(s->mb_stride * 2 * 8); av_mallocz 1325 libavcodec/svq3.c s->mb2br_xy = av_mallocz(s->mb_stride * (s->mb_height + 1) * av_mallocz 393 libavcodec/tests/fft.c s = av_mallocz(sizeof(*s)); av_mallocz 394 libavcodec/tests/fft.c m = av_mallocz(sizeof(*m)); av_mallocz 398 libavcodec/tests/fft.c r = av_mallocz(sizeof(*r)); av_mallocz 399 libavcodec/tests/fft.c d = av_mallocz(sizeof(*d)); av_mallocz 579 libavcodec/utils.c avci = av_mallocz(sizeof(*avci)); av_mallocz 603 libavcodec/utils.c avctx->priv_data = av_mallocz(codec->priv_data_size); av_mallocz 1980 libavcodec/utils.c AVCPBProperties *props = av_mallocz(sizeof(AVCPBProperties)); av_mallocz 2045 libavcodec/utils.c AVCodecParameters *par = av_mallocz(sizeof(*par)); av_mallocz 2072 libavcodec/utils.c dst->extradata = av_mallocz(src->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2129 libavcodec/utils.c par->extradata = av_mallocz(codec->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2186 libavcodec/utils.c codec->extradata = av_mallocz(par->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2211 libavcodec/utils.c *data = av_mallocz(*sei_size + prefix_len); av_mallocz 174 libavcodec/utvideoenc.c avctx->extradata = av_mallocz(avctx->extradata_size + av_mallocz 748 libavcodec/v4l2_context.c ctx->buffers = av_mallocz(ctx->num_buffers * sizeof(V4L2Buffer)); av_mallocz 397 libavcodec/v4l2_m2m.c *s = av_mallocz(sizeof(V4L2m2mContext)); av_mallocz 401 libavcodec/vaapi_encode.c slice->codec_slice_params = av_mallocz(ctx->codec->slice_params_size); av_mallocz 672 libavcodec/vaapi_encode.c pic = av_mallocz(sizeof(*pic)); av_mallocz 677 libavcodec/vaapi_encode.c pic->priv_data = av_mallocz(ctx->codec->picture_priv_data_size); av_mallocz 2319 libavcodec/vaapi_encode.c av_mallocz(ctx->codec->sequence_params_size); av_mallocz 2327 libavcodec/vaapi_encode.c av_mallocz(ctx->codec->picture_params_size); av_mallocz 2356 libavcodec/vaapi_encode.c avctx->extradata = av_mallocz(avctx->extradata_size + av_mallocz 394 libavcodec/vaapi_vc1.c bitplane = av_mallocz(size); av_mallocz 262 libavcodec/vb.c c->frame = av_mallocz(avctx->width * avctx->height); av_mallocz 263 libavcodec/vb.c c->prev_frame = av_mallocz(avctx->width * avctx->height); av_mallocz 334 libavcodec/vc1dec.c v->fieldtx_plane = av_mallocz(s->mb_stride * mb_height); av_mallocz 351 libavcodec/vc1dec.c v->is_intra_base = av_mallocz(sizeof(v->is_intra_base[0]) * 3 * s->mb_stride); av_mallocz 355 libavcodec/vc1dec.c v->luma_mv_base = av_mallocz(sizeof(v->luma_mv_base[0]) * 3 * s->mb_stride); av_mallocz 369 libavcodec/vc1dec.c v->blk_mv_type_base = av_mallocz( s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2); av_mallocz 373 libavcodec/vc1dec.c v->mv_f_base = av_mallocz(2 * (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2)); av_mallocz 378 libavcodec/vc1dec.c v->mv_f_next_base = av_mallocz(2 * (s->b8_stride * (mb_height * 2 + 1) + s->mb_stride * (mb_height + 1) * 2)); av_mallocz 478 libavcodec/vc1dec.c buf2 = av_mallocz(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 675 libavcodec/vc1dec.c buf2 = av_mallocz(buf_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 704 libavcodec/vc1dec.c slices[n_slices].buf = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 733 libavcodec/vc1dec.c slices[n_slices].buf = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 768 libavcodec/vc1dec.c slices[n_slices].buf = av_mallocz(buf_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 1135 libavcodec/vc2enc.c p->coef_buf = av_mallocz(p->coef_stride*p->dwt_height*sizeof(dwtcoef)); av_mallocz 447 libavcodec/vdpau.c return av_mallocz(sizeof(VDPAUHWContext)); av_mallocz 121 libavcodec/videotoolbox.c data = av_mallocz(size); av_mallocz 520 libavcodec/videotoolbox.c if (!(rw_extradata = av_mallocz(full_size + VIDEOTOOLBOX_ESDS_EXTRADATA_PADDING))) av_mallocz 1215 libavcodec/videotoolbox.c AVVideotoolboxContext *ret = av_mallocz(sizeof(*ret)); av_mallocz 545 libavcodec/videotoolboxenc.c avctx->extradata = av_mallocz(total_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2304 libavcodec/videotoolboxenc.c sei = av_mallocz(sizeof(*sei)); av_mallocz 284 libavcodec/vorbis_parser.c AVVorbisParseContext *s = av_mallocz(sizeof(*s)); av_mallocz 251 libavcodec/vorbisdec.c vc->codebooks = av_mallocz(vc->codebook_count * sizeof(*vc->codebooks)); av_mallocz 252 libavcodec/vorbisdec.c tmp_vlc_bits = av_mallocz(V_MAX_VLCS * sizeof(*tmp_vlc_bits)); av_mallocz 253 libavcodec/vorbisdec.c tmp_vlc_codes = av_mallocz(V_MAX_VLCS * sizeof(*tmp_vlc_codes)); av_mallocz 506 libavcodec/vorbisdec.c vc->floors = av_mallocz(vc->floor_count * sizeof(*vc->floors)); av_mallocz 695 libavcodec/vorbisdec.c vc->residues = av_mallocz(vc->residue_count * sizeof(*vc->residues)); av_mallocz 776 libavcodec/vorbisdec.c vc->mappings = av_mallocz(vc->mapping_count * sizeof(*vc->mappings)); av_mallocz 802 libavcodec/vorbisdec.c mapping_setup->magnitude = av_mallocz(mapping_setup->coupling_steps * av_mallocz 804 libavcodec/vorbisdec.c mapping_setup->angle = av_mallocz(mapping_setup->coupling_steps * av_mallocz 891 libavcodec/vorbisdec.c vc->modes = av_mallocz(vc->mode_count * sizeof(*vc->modes)); av_mallocz 620 libavcodec/vorbisenc.c uint8_t *buffer = av_mallocz(buffer_len), *p = buffer; av_mallocz 731 libavcodec/vorbisenc.c p = *out = av_mallocz(64 + len + len/255); av_mallocz 2266 libavcodec/vp3.c s->superblock_coding = av_mallocz(FFMAX(s->superblock_count, s->yuv_macroblock_count)); av_mallocz 2280 libavcodec/vp3.c s->macroblock_coding = av_mallocz(s->macroblock_count + 1); av_mallocz 653 libavcodec/vp6.c s->alpha_context = av_mallocz(sizeof(VP56Context)); av_mallocz 214 libavcodec/vp8.c s->macroblocks_base = av_mallocz((s->mb_width + s->mb_height * 2 + 1) * av_mallocz 216 libavcodec/vp8.c s->intra4x4_pred_mode_top = av_mallocz(s->mb_width * 4); av_mallocz 218 libavcodec/vp8.c s->macroblocks_base = av_mallocz((s->mb_width + 2) * (s->mb_height + 2) * av_mallocz 220 libavcodec/vp8.c s->top_nnz = av_mallocz(s->mb_width * sizeof(*s->top_nnz)); av_mallocz 221 libavcodec/vp8.c s->top_border = av_mallocz((s->mb_width + 1) * sizeof(*s->top_border)); av_mallocz 222 libavcodec/vp8.c s->thread_data = av_mallocz(MAX_THREADS * sizeof(VP8ThreadData)); av_mallocz 232 libavcodec/vp8.c av_mallocz(s->mb_width * sizeof(*s->thread_data[0].filter_strength)); av_mallocz 322 libavcodec/vp9.c td->block_base = av_mallocz(((64 * 64 + 2 * chroma_blocks) * bytesperpixel * sizeof(int16_t) + av_mallocz 343 libavcodec/vp9.c s->td[i].block_base = av_mallocz((64 * 64 + 2 * chroma_blocks) * bytesperpixel * sizeof(int16_t) + av_mallocz 302 libavcodec/vp9_raw_reorder_bsf.c frame = av_mallocz(sizeof(*frame)); av_mallocz 182 libavcodec/vqavideo.c s->decode_buffer = av_mallocz(s->decode_buffer_size); av_mallocz 976 libavcodec/wavpack.c c->fdec[c->fdec_num] = av_mallocz(sizeof(**c->fdec)); av_mallocz 71 libavcodec/wmaenc.c extradata = av_mallocz(10); av_mallocz 200 libavcodec/wmalosslessdec.c s->frame_data = av_mallocz(s->max_frame_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 65 libavcodec/wmv2enc.c avctx->extradata = av_mallocz(avctx->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 53 libavcodec/wrapped_avframe.c data = av_mallocz(size); av_mallocz 98 libavcodec/xsubdec.c sub->rects = av_mallocz(sizeof(*sub->rects)); av_mallocz 102 libavcodec/xsubdec.c sub->rects[0] = av_mallocz(sizeof(*sub->rects[0])); av_mallocz 113 libavcodec/xsubdec.c sub->rects[0]->data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 625 libavcodec/zmbv.c c->decomp_buf = av_mallocz(c->decomp_size); av_mallocz 413 libavcodec/zmbvenc.c if (!(c->prev_buf = av_mallocz(prev_size))) { av_mallocz 368 libavdevice/alsa.c new_device = av_mallocz(sizeof(AVDeviceInfo)); av_mallocz 152 libavdevice/avdevice.c *caps = av_mallocz(sizeof(**caps)); av_mallocz 198 libavdevice/avdevice.c *device_list = av_mallocz(sizeof(AVDeviceInfoList)); av_mallocz 376 libavdevice/decklink_common.cpp new_device = (AVDeviceInfo *) av_mallocz(sizeof(AVDeviceInfo)); av_mallocz 414 libavdevice/decklink_common.cpp device_list = (struct AVDeviceInfoList *) av_mallocz(sizeof(AVDeviceInfoList)); av_mallocz 968 libavdevice/decklink_dec.cpp cctx->format_code = (char *)av_mallocz(5); av_mallocz 1010 libavdevice/decklink_dec.cpp ctx = (struct decklink_ctx *) av_mallocz(sizeof(struct decklink_ctx)); av_mallocz 553 libavdevice/decklink_enc.cpp ctx = (struct decklink_ctx *) av_mallocz(sizeof(struct decklink_ctx)); av_mallocz 174 libavdevice/dshow.c pktl_next = av_mallocz(sizeof(AVPacketList)); av_mallocz 99 libavdevice/fbdev_common.c device = av_mallocz(sizeof(AVDeviceInfo)); av_mallocz 115 libavdevice/iec61883.c packet = av_mallocz(sizeof(*packet)); av_mallocz 144 libavdevice/kmsgrab.c desc = av_mallocz(sizeof(*desc)); av_mallocz 189 libavdevice/lavfi.c if (!(lavfi->sink_eof = av_mallocz(sizeof(int) * n))) av_mallocz 144 libavdevice/pulse_audio_common.c new_device = av_mallocz(sizeof(AVDeviceInfo)); av_mallocz 50 libavdevice/timefilter.c TimeFilter *self = av_mallocz(sizeof(TimeFilter)); av_mallocz 42 libavdevice/utils.c s->priv_data = av_mallocz(s->iformat->priv_data_size); av_mallocz 1064 libavdevice/v4l2.c device = av_mallocz(sizeof(AVDeviceInfo)); av_mallocz 193 libavdevice/vfwcap.c pktl_next = av_mallocz(sizeof(AVPacketList)); av_mallocz 249 libavfilter/af_amix.c s->frame_list = av_mallocz(sizeof(*s->frame_list)); av_mallocz 156 libavfilter/avfilter.c link = av_mallocz(sizeof(*link)); av_mallocz 653 libavfilter/avfilter.c ret = av_mallocz(sizeof(AVFilterContext)); av_mallocz 661 libavfilter/avfilter.c ret->priv = av_mallocz(filter->priv_size); av_mallocz 677 libavfilter/avfilter.c ret->internal = av_mallocz(sizeof(*ret->internal)); av_mallocz 85 libavfilter/avfiltergraph.c AVFilterGraph *ret = av_mallocz(sizeof(*ret)); av_mallocz 89 libavfilter/avfiltergraph.c ret->internal = av_mallocz(sizeof(*ret->internal)); av_mallocz 1333 libavfilter/avfiltergraph.c *queue = av_mallocz(sizeof(AVFilterCommand)); av_mallocz 142 libavfilter/buffersink.c AVABufferSinkParams *params = av_mallocz(sizeof(AVABufferSinkParams)); av_mallocz 89 libavfilter/buffersrc.c AVBufferSrcParameters *par = av_mallocz(sizeof(*par)); av_mallocz 136 libavfilter/dnn/dnn_backend_native.c model = av_mallocz(sizeof(DNNModel)); av_mallocz 170 libavfilter/dnn/dnn_backend_native.c network = av_mallocz(sizeof(ConvolutionalNetwork)); av_mallocz 182 libavfilter/dnn/dnn_backend_native.c network->layers = av_mallocz(network->layers_num * sizeof(Layer)); av_mallocz 187 libavfilter/dnn/dnn_backend_native.c network->operands = av_mallocz(network->operands_num * sizeof(DnnOperand)); av_mallocz 585 libavfilter/dnn/dnn_backend_tf.c tf_model = av_mallocz(sizeof(TFModel)); av_mallocz 262 libavfilter/ebur128.c av_mallocz(1000 * sizeof(*st->d->block_energy_histogram)); av_mallocz 265 libavfilter/ebur128.c av_mallocz(1000 * sizeof(*st->d->short_term_block_energy_histogram)); av_mallocz 80 libavfilter/fifo.c s->last->next = av_mallocz(sizeof(Buf)); av_mallocz 65 libavfilter/formats.c if (!(ret = av_mallocz(sizeof(*ret)))) \ av_mallocz 198 libavfilter/formats.c if (!(ret = av_mallocz(sizeof(*ret))) || av_mallocz 271 libavfilter/formats.c formats = av_mallocz(sizeof(*formats)); \ av_mallocz 319 libavfilter/formats.c if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) { \ av_mallocz 398 libavfilter/formats.c formats = av_mallocz(sizeof(*formats)); av_mallocz 427 libavfilter/formats.c AVFilterFormats *ret = av_mallocz(sizeof(*ret)); av_mallocz 433 libavfilter/formats.c AVFilterChannelLayouts *ret = av_mallocz(sizeof(*ret)); av_mallocz 442 libavfilter/formats.c AVFilterChannelLayouts *ret = av_mallocz(sizeof(*ret)); av_mallocz 64 libavfilter/framepool.c pool = av_mallocz(sizeof(FFFramePool)); av_mallocz 128 libavfilter/framepool.c pool = av_mallocz(sizeof(FFFramePool)); av_mallocz 155 libavfilter/glslang.cpp GLSlangResult *res = (GLSlangResult *)av_mallocz(sizeof(*res)); av_mallocz 200 libavfilter/graphparser.c return av_mallocz(sizeof(AVFilterInOut)); av_mallocz 260 libavfilter/graphparser.c } else if (!(p = av_mallocz(sizeof(*p)))) av_mallocz 285 libavfilter/graphparser.c AVFilterInOut *currlinkn = av_mallocz(sizeof(AVFilterInOut)); av_mallocz 316 libavfilter/graphparser.c if (!(match = av_mallocz(sizeof(AVFilterInOut)))) { av_mallocz 399 libavfilter/graphparser.c if (!(graph->scale_sws_opts = av_mallocz(p - *buf + 1))) av_mallocz 93 libavfilter/pthread.c graph->internal->thread = av_mallocz(sizeof(ThreadContext)); av_mallocz 92 libavfilter/qsvvpp.c resp->mids = av_mallocz(s->nb_surface_ptrs_in * sizeof(*resp->mids)); av_mallocz 101 libavfilter/qsvvpp.c resp->mids = av_mallocz(s->nb_surface_ptrs_out * sizeof(*resp->mids)); av_mallocz 265 libavfilter/qsvvpp.c out = av_mallocz(sizeof(*out)); av_mallocz 567 libavfilter/qsvvpp.c s = av_mallocz(sizeof(*s)); av_mallocz 120 libavfilter/tests/filtfmts.c AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); av_mallocz 130 libavfilter/tests/filtfmts.c AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); av_mallocz 145 libavfilter/vf_curves.c struct keypoint *point = av_mallocz(sizeof(*point)); av_mallocz 391 libavfilter/vf_deinterlace_qsv.c frame = av_mallocz(sizeof(*frame)); av_mallocz 328 libavfilter/vf_drawtext.c glyph = av_mallocz(sizeof(*glyph)); av_mallocz 878 libavfilter/vf_drawtext.c new = av_mallocz(sizeof(DrawTextContext)); av_mallocz 359 libavfilter/vf_libopencv.c if (!(s->priv = av_mallocz(entry->priv_size))) av_mallocz 336 libavfilter/vf_overlay_qsv.c vpp->qsv_param.ext_buf = av_mallocz(sizeof(*vpp->qsv_param.ext_buf)); av_mallocz 153 libavfilter/vf_pullup.c f = head = av_mallocz(sizeof(*head)); av_mallocz 163 libavfilter/vf_pullup.c f->next = av_mallocz(sizeof(*f->next)); av_mallocz 565 libavfilter/vf_pullup.c PullupField *f = av_mallocz(sizeof(*f)); av_mallocz 305 libavfilter/vf_removelogo.c if (!(s->half_mask_data = av_mallocz(w/2 * h/2))) av_mallocz 184 libavfilter/vf_signature.c fs = av_mallocz(sizeof(FineSignature)); av_mallocz 326 libavfilter/vf_signature.c sc->curcoarsesig1 = av_mallocz(sizeof(CoarseSignature)); av_mallocz 336 libavfilter/vf_signature.c sc->curcoarsesig2 = av_mallocz(sizeof(CoarseSignature)); av_mallocz 653 libavfilter/vf_signature.c sic->streamcontexts = av_mallocz(sic->nb_inputs * sizeof(StreamContext)); av_mallocz 671 libavfilter/vf_signature.c sc->finesiglist = av_mallocz(sizeof(FineSignature)); av_mallocz 676 libavfilter/vf_signature.c sc->coarsesiglist = av_mallocz(sizeof(CoarseSignature)); av_mallocz 72 libavfilter/vidstabutils.c vs_zalloc = av_mallocz; av_mallocz 28 libavfilter/vulkan.c type **array, *sctx = av_mallocz(sizeof(*sctx)); \ av_mallocz 363 libavfilter/vulkan.c e->queues = av_mallocz(nb_queues * sizeof(*e->queues)); av_mallocz 367 libavfilter/vulkan.c e->bufs = av_mallocz(nb_queues * sizeof(*e->bufs)); av_mallocz 859 libavfilter/vulkan.c ImageViewCtx *iv = av_mallocz(sizeof(*iv)); av_mallocz 1043 libavfilter/vulkan.c desc_binding = av_mallocz(sizeof(*desc_binding)*num); av_mallocz 1093 libavfilter/vulkan.c des_entries = av_mallocz(num*sizeof(VkDescriptorUpdateTemplateEntry)); av_mallocz 117 libavformat/4xm.c st->codecpar->extradata = av_mallocz(4 + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 285 libavformat/ape.c ape->seektable = av_mallocz(ape->seektablelength); av_mallocz 293 libavformat/ape.c ape->bittable = av_mallocz(ape->totalframes); av_mallocz 106 libavformat/apngenc.c apng->extra_data = av_mallocz(par->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 130 libavformat/apngenc.c apng->extra_data = av_mallocz(side_data_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 520 libavformat/asfdec_f.c st->codecpar->extradata = av_mallocz(st->codecpar->extradata_size + av_mallocz 425 libavformat/asfdec_o.c asf->asf_st[asf->nb_streams] = av_mallocz(sizeof(*asf_st)); av_mallocz 781 libavformat/asfdec_o.c asf->asf_st[asf->nb_streams] = av_mallocz(sizeof(*asf_st)); av_mallocz 164 libavformat/assenc.c DialogueLine *dialogue = av_mallocz(sizeof(*dialogue)); av_mallocz 240 libavformat/avc.c out = av_mallocz(out_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 577 libavformat/avidec.c ast = av_mallocz(sizeof(AVIStream)); av_mallocz 1090 libavformat/avidec.c pd = (AVProbeData) { .buf = av_mallocz(size + AVPROBE_PADDING_SIZE), av_mallocz 277 libavformat/avienc.c s->streams[n]->priv_data = av_mallocz(sizeof(AVIStream)); av_mallocz 95 libavformat/avio.c uc = av_mallocz(sizeof(URLContext) + strlen(filename) + 1); av_mallocz 108 libavformat/avio.c uc->priv_data = av_mallocz(up->priv_data_size); av_mallocz 543 libavformat/avio.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 1341 libavformat/aviobuf.c d = av_mallocz(sizeof(DynBuffer) + io_buffer_size); av_mallocz 263 libavformat/brstm.c b->table = av_mallocz(32 * st->codecpar->channels); av_mallocz 307 libavformat/brstm.c b->adpc = av_mallocz(asize); av_mallocz 397 libavformat/brstm.c b->table = av_mallocz(32 * par->channels); av_mallocz 478 libavformat/dashdec.c char *tmp_str = av_mallocz(max_url_size); av_mallocz 479 libavformat/dashdec.c char *tmp_str_2 = av_mallocz(max_url_size); av_mallocz 585 libavformat/dashdec.c struct fragment * seg = av_mallocz(sizeof(struct fragment)); av_mallocz 675 libavformat/dashdec.c struct timeline *tml = av_mallocz(sizeof(struct timeline)); av_mallocz 736 libavformat/dashdec.c text = av_mallocz(tmp_max_url_size); av_mallocz 748 libavformat/dashdec.c path = av_mallocz(tmp_max_url_size); av_mallocz 749 libavformat/dashdec.c tmp_str = av_mallocz(tmp_max_url_size); av_mallocz 876 libavformat/dashdec.c rep = av_mallocz(sizeof(struct representation)); av_mallocz 923 libavformat/dashdec.c rep->init_section = av_mallocz(sizeof(struct fragment)); av_mallocz 998 libavformat/dashdec.c seg = av_mallocz(sizeof(struct fragment)); av_mallocz 1625 libavformat/dashdec.c seg = av_mallocz(sizeof(struct fragment)); av_mallocz 1656 libavformat/dashdec.c seg = av_mallocz(sizeof(struct fragment)); av_mallocz 1661 libavformat/dashdec.c seg = av_mallocz(sizeof(struct fragment)); av_mallocz 1667 libavformat/dashdec.c char *tmpfilename= av_mallocz(c->max_url_size); av_mallocz 1711 libavformat/dashdec.c url = av_mallocz(c->max_url_size); av_mallocz 2035 libavformat/dashdec.c rep_dest->init_sec_buf = av_mallocz(rep_src->init_sec_buf_size); av_mallocz 1452 libavformat/dashenc.c c->streams = av_mallocz(sizeof(*c->streams) * s->nb_streams); av_mallocz 1741 libavformat/dashenc.c seg = av_mallocz(sizeof(*seg)); av_mallocz 369 libavformat/dhav.c st->priv_data = dst = av_mallocz(sizeof(DHAVStream)); av_mallocz 400 libavformat/dhav.c st->priv_data = dst = av_mallocz(sizeof(DHAVStream)); av_mallocz 100 libavformat/dss.c value = av_mallocz(size + 1); av_mallocz 604 libavformat/dump.c uint8_t *printed = ic->nb_streams ? av_mallocz(ic->nb_streams) : NULL; av_mallocz 328 libavformat/dv.c c = av_mallocz(sizeof(DVDemuxContext)); av_mallocz 466 libavformat/dv.c uint8_t *partial_frame = av_mallocz(sizeof(*partial_frame) * av_mallocz 81 libavformat/flacdec.c buffer = av_mallocz(metadata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 443 libavformat/flvdec.c if (!(*current_array = av_mallocz(sizeof(**current_array) * arraylen))) { av_mallocz 815 libavformat/flvdec.c flv->new_extradata[stream] = av_mallocz(size + av_mallocz 725 libavformat/flvenc.c sc = av_mallocz(sizeof(FLVStreamContext)); av_mallocz 718 libavformat/gxfenc.c GXFStreamContext *sc = av_mallocz(sizeof(*sc)); av_mallocz 439 libavformat/hdsenc.c frag = av_mallocz(sizeof(*frag)); av_mallocz 309 libavformat/hls.c struct playlist *pls = av_mallocz(sizeof(struct playlist)); av_mallocz 343 libavformat/hls.c var = av_mallocz(sizeof(struct variant)); av_mallocz 413 libavformat/hls.c sec = av_mallocz(sizeof(*sec)); av_mallocz 509 libavformat/hls.c rend = av_mallocz(sizeof(struct rendition)); av_mallocz 653 libavformat/hlsenc.c hls->key_basename = av_mallocz(len); av_mallocz 1619 libavformat/hlsenc.c char *buf = av_mallocz(bufsize); av_mallocz 1927 libavformat/hlsenc.c hls->var_streams = av_mallocz(sizeof(*hls->var_streams) * nb_varstreams); av_mallocz 1955 libavformat/hlsenc.c vs->streams = av_mallocz(sizeof(AVStream *) * vs->nb_streams); av_mallocz 2054 libavformat/hlsenc.c hls->cc_streams = av_mallocz(sizeof(*hls->cc_streams) * nb_ccstreams); av_mallocz 2127 libavformat/hlsenc.c hls->var_streams = av_mallocz(sizeof(*hls->var_streams)); av_mallocz 2134 libavformat/hlsenc.c hls->var_streams[0].streams = av_mallocz(sizeof(AVStream *) * av_mallocz 461 libavformat/id3v2.c new_extra = av_mallocz(sizeof(ID3v2ExtraMeta)); av_mallocz 597 libavformat/id3v2.c new_extra = av_mallocz(sizeof(*new_extra)); av_mallocz 684 libavformat/id3v2.c new_extra = av_mallocz(sizeof(*new_extra)); av_mallocz 744 libavformat/id3v2.c meta = av_mallocz(sizeof(*meta)); av_mallocz 2541 libavformat/matroskadec.c extradata = av_mallocz(5 + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2559 libavformat/matroskadec.c extradata = av_mallocz(extradata_size + av_mallocz 2584 libavformat/matroskadec.c extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2657 libavformat/matroskadec.c extradata = av_mallocz(2 + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 165 libavformat/mmsh.c mms->asf_header = av_mallocz(len); av_mallocz 273 libavformat/mmsh.c stream_selection = av_mallocz(mms->stream_num * 19 + 1); av_mallocz 379 libavformat/mmsh.c MMSHContext *mmsh = av_mallocz(sizeof(*mmsh)); av_mallocz 203 libavformat/mov.c sc = av_mallocz(sizeof(*sc)); av_mallocz 462 libavformat/mov.c str = av_mallocz(str_size_alloc); av_mallocz 596 libavformat/mov.c sc->drefs = av_mallocz(entries * sizeof(*sc->drefs)); av_mallocz 658 libavformat/mov.c dref->path = av_mallocz(len+1); av_mallocz 1875 libavformat/mov.c st->codecpar->extradata = av_mallocz(ALAC_EXTRADATA_SIZE + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2617 libavformat/mov.c st->codecpar->extradata = av_mallocz(sc->extradata_size[0] + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 3007 libavformat/mov.c sc->sdtp_data = av_mallocz(entries); av_mallocz 4225 libavformat/mov.c sc = av_mallocz(sizeof(MOVStreamContext)); av_mallocz 4371 libavformat/mov.c c->meta_keys = av_mallocz(c->meta_keys_count * sizeof(*c->meta_keys)); av_mallocz 4388 libavformat/mov.c c->meta_keys[i] = av_mallocz(key_size + 1); av_mallocz 5793 libavformat/mov.c buffer = av_mallocz(len + 1); av_mallocz 5830 libavformat/mov.c buffer = av_mallocz(len + 1); av_mallocz 5954 libavformat/mov.c frag_stream_info->encryption_index = av_mallocz(sizeof(*frag_stream_info->encryption_index)); av_mallocz 5972 libavformat/mov.c (*sc)->cenc.encryption_index = av_mallocz(sizeof(*frag_stream_info->encryption_index)); av_mallocz 6393 libavformat/mov.c info->key_ids[i] = av_mallocz(16); av_mallocz 6529 libavformat/mov.c sc->cenc.encryption_index = av_mallocz(sizeof(MOVEncryptionIndex)); av_mallocz 7229 libavformat/mov.c if (!(title = av_mallocz(title_len))) av_mallocz 406 libavformat/movenc.c if (!track->eac3_priv && !(track->eac3_priv = av_mallocz(sizeof(*info)))) av_mallocz 895 libavformat/movenc.c unescaped = av_mallocz(track->vos_len + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 5774 libavformat/movenc.c void *newextra = av_mallocz(side_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 344 libavformat/mpegenc.c stream = av_mallocz(sizeof(StreamInfo)); av_mallocz 1183 libavformat/mpegenc.c pkt_desc = av_mallocz(sizeof(PacketDesc)); av_mallocz 491 libavformat/mpegts.c filter = av_mallocz(sizeof(MpegTSFilter)); av_mallocz 519 libavformat/mpegts.c sec->section_buf = av_mallocz(MAX_SECTION_SIZE); av_mallocz 1405 libavformat/mpegts.c pes = av_mallocz(sizeof(PESContext)); av_mallocz 2012 libavformat/mpegts.c st->codecpar->extradata = av_mallocz(sizeof(opus_default_extradata) + av_mallocz 3324 libavformat/mpegts.c ts = av_mallocz(sizeof(MpegTSContext)); av_mallocz 849 libavformat/mpegtsenc.c service = av_mallocz(sizeof(MpegTSService)); av_mallocz 999 libavformat/mpegtsenc.c ts_st = av_mallocz(sizeof(MpegTSWriteStream)); av_mallocz 1007 libavformat/mpegtsenc.c ts_st->payload = av_mallocz(ts->pes_payload_size); av_mallocz 166 libavformat/mux.c s->priv_data = av_mallocz(s->oformat->priv_data_size); av_mallocz 377 libavformat/mux.c s->priv_data = av_mallocz(of->priv_data_size); av_mallocz 444 libavformat/mux.c st->internal->priv_pts = av_mallocz(sizeof(*st->internal->priv_pts)); av_mallocz 1347 libavformat/mux.c AVFrame **framep = av_mallocz(bufsize); av_mallocz 1856 libavformat/mxfdec.c p = *str = av_mallocz(sizeof(UID) * 2 + 4 + 1); av_mallocz 1874 libavformat/mxfdec.c p = *str = av_mallocz(sizeof(UID) * 4 + 2 + 1); av_mallocz 2730 libavformat/mxfdec.c MXFMetadataSet *ctx = ctx_size ? av_mallocz(ctx_size) : mxf; av_mallocz 3083 libavformat/mxfdec.c if (!(segment = av_mallocz(sizeof(*segment)))) av_mallocz 2452 libavformat/mxfenc.c MXFStreamContext *sc = av_mallocz(sizeof(*sc)); av_mallocz 2644 libavformat/mxfenc.c mxf->timecode_track = av_mallocz(sizeof(*mxf->timecode_track)); av_mallocz 2647 libavformat/mxfenc.c mxf->timecode_track->priv_data = av_mallocz(sizeof(MXFStreamContext)); av_mallocz 306 libavformat/nsvdec.c p = strings = av_mallocz((size_t)strings_size + 1); av_mallocz 426 libavformat/nsvdec.c nst = av_mallocz(sizeof(NSVStream)); av_mallocz 457 libavformat/nsvdec.c nst = av_mallocz(sizeof(NSVStream)); av_mallocz 285 libavformat/nut.c Syncpoint *sp = av_mallocz(sizeof(Syncpoint)); av_mallocz 101 libavformat/oggdec.c os->buf = av_mallocz(os->bufsize + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 176 libavformat/oggenc.c OGGPageList *l = av_mallocz(sizeof(*l)); av_mallocz 288 libavformat/oggenc.c p = av_mallocz(size); av_mallocz 312 libavformat/oggenc.c oggstream->header[0] = av_mallocz(51); // per ogg flac specs av_mallocz 349 libavformat/oggenc.c p = av_mallocz(SPEEX_HEADER_SIZE); av_mallocz 379 libavformat/oggenc.c p = av_mallocz(par->extradata_size); av_mallocz 405 libavformat/oggenc.c p = av_mallocz(VP8_HEADER_SIZE); av_mallocz 505 libavformat/oggenc.c oggstream = av_mallocz(sizeof(*oggstream)); av_mallocz 48 libavformat/oggparseopus.c priv = os->private = av_mallocz(sizeof(*priv)); av_mallocz 52 libavformat/oggparsespeex.c spxp = av_mallocz(sizeof(*spxp)); av_mallocz 52 libavformat/oggparsetheora.c thp = av_mallocz(sizeof(*thp)); av_mallocz 290 libavformat/oggparsevorbis.c os->new_metadata = av_mallocz(1); av_mallocz 306 libavformat/oggparsevorbis.c os->private = av_mallocz(sizeof(struct oggvorbis_private)); av_mallocz 325 libavformat/oggparsevorbis.c priv->packet[pkt_type >> 1] = av_mallocz(os->psize); av_mallocz 151 libavformat/options.c internal = av_mallocz(sizeof(*internal)); av_mallocz 74 libavformat/os_support.c sin = av_mallocz(sizeof(struct sockaddr_in)); av_mallocz 104 libavformat/os_support.c ai = av_mallocz(sizeof(struct addrinfo)); av_mallocz 148 libavformat/paf.c p->blocks_count_table = av_mallocz(p->nb_frames * av_mallocz 150 libavformat/paf.c p->frames_offset_table = av_mallocz(p->nb_frames * av_mallocz 152 libavformat/paf.c p->blocks_offset_table = av_mallocz(p->frame_blks * av_mallocz 156 libavformat/paf.c p->video_frame = av_mallocz(p->video_size); av_mallocz 159 libavformat/paf.c p->audio_frame = av_mallocz(p->audio_size); av_mallocz 160 libavformat/paf.c p->temp_audio_frame = av_mallocz(p->audio_size); av_mallocz 58 libavformat/rdt.c RDTDemuxContext *s = av_mallocz(sizeof(RDTDemuxContext)); av_mallocz 401 libavformat/rdt.c target = av_mallocz(*target_len + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 276 libavformat/riffdec.c value = av_mallocz(chunk_size + 1); av_mallocz 109 libavformat/rmdec.c RMStream *rms = av_mallocz(sizeof(RMStream)); av_mallocz 221 libavformat/rtmpdh.c #define dh_new() av_mallocz(sizeof(FF_DH)) av_mallocz 541 libavformat/rtpdec.c s = av_mallocz(sizeof(RTPDemuxContext)); av_mallocz 734 libavformat/rtpdec.c packet = av_mallocz(sizeof(*packet)); av_mallocz 108 libavformat/rtpdec_asf.c char *buf = av_mallocz(len); av_mallocz 100 libavformat/rtpdec_latm.c config = av_mallocz(len + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 131 libavformat/rtpdec_qt.c MOVContext *mc = av_mallocz(sizeof(*mc)); av_mallocz 135 libavformat/rtpdec_qt.c st->priv_data = msc = av_mallocz(sizeof(MOVStreamContext)); av_mallocz 231 libavformat/rtsp.c rtsp_st->dynamic_protocol_context = av_mallocz(handler->priv_data_size); av_mallocz 469 libavformat/rtsp.c rtsp_st = av_mallocz(sizeof(RTSPStream)); av_mallocz 647 libavformat/rtsp.c rtsp_src = av_mallocz(sizeof(*rtsp_src)); av_mallocz 59 libavformat/rtspenc.c sdp = av_mallocz(SDP_MAX_SIZE); av_mallocz 95 libavformat/rtspenc.c rtsp_st = av_mallocz(sizeof(RTSPStream)); av_mallocz 200 libavformat/sapenc.c sap->ann = av_mallocz(sap->ann_size); av_mallocz 177 libavformat/sdp.c psets = av_mallocz(MAX_PSET_SIZE); av_mallocz 287 libavformat/sdp.c psets = av_mallocz(MAX_PSET_SIZE); av_mallocz 93 libavformat/segafilmenc.c metadata = av_mallocz(sizeof(FILMPacket)); av_mallocz 379 libavformat/segment.c SegmentListEntry *entry = av_mallocz(sizeof(*entry)); av_mallocz 155 libavformat/smoothstreamingenc.c os->private_str = av_mallocz(2*size + 1); av_mallocz 468 libavformat/smoothstreamingenc.c frag = av_mallocz(sizeof(*frag)); av_mallocz 204 libavformat/tests/movenc.c st->codecpar->extradata = av_mallocz(st->codecpar->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 220 libavformat/tests/movenc.c st->codecpar->extradata = av_mallocz(st->codecpar->extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 225 libavformat/url.c AVIODirEntry *entry = av_mallocz(sizeof(AVIODirEntry)); av_mallocz 445 libavformat/utils.c AVPacketList *pktl = av_mallocz(sizeof(AVPacketList)); av_mallocz 609 libavformat/utils.c if (!(s->priv_data = av_mallocz(s->iformat->priv_data_size))) { av_mallocz 3366 libavformat/utils.c st->info->duration_error = av_mallocz(sizeof(st->info->duration_error[0])*2); av_mallocz 3586 libavformat/utils.c sti->avctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 4535 libavformat/utils.c st = av_mallocz(sizeof(AVStream)); av_mallocz 4538 libavformat/utils.c if (!(st->info = av_mallocz(sizeof(*st->info)))) { av_mallocz 4555 libavformat/utils.c st->internal = av_mallocz(sizeof(*st->internal)); av_mallocz 4630 libavformat/utils.c program = av_mallocz(sizeof(AVProgram)); av_mallocz 4663 libavformat/utils.c chapter = av_mallocz(sizeof(AVChapter)); av_mallocz 182 libavformat/vapoursynth.c vss_state = av_mallocz(sizeof(*vss_state)); av_mallocz 355 libavformat/vapoursynth.c ref_data = av_mallocz(sizeof(*ref_data)); av_mallocz 870 libavformat/wavdec.c value = av_mallocz(chunk_size + 1); av_mallocz 161 libavformat/wtvdec.c wf = av_mallocz(sizeof(WtvFile)); av_mallocz 612 libavformat/wtvdec.c WtvStream *wst = av_mallocz(sizeof(WtvStream)); av_mallocz 269 libavresample/audio_convert.c ac = av_mallocz(sizeof(*ac)); av_mallocz 128 libavresample/audio_data.c a = av_mallocz(sizeof(*a)); av_mallocz 346 libavresample/audio_mix.c am = av_mallocz(sizeof(*am)); av_mallocz 373 libavresample/audio_mix.c double *matrix_dbl = av_mallocz(avr->out_channels * avr->in_channels * av_mallocz 676 libavresample/audio_mix.c am->matrix_## type[0] = av_mallocz(am->out_matrix_channels * \ av_mallocz 361 libavresample/dither.c c = av_mallocz(sizeof(*c)); av_mallocz 416 libavresample/dither.c c->state = av_mallocz(channels * sizeof(*c->state)); av_mallocz 100 libavresample/options.c avr = av_mallocz(sizeof(*avr)); av_mallocz 138 libavresample/resample.c c = av_mallocz(sizeof(*c)); av_mallocz 179 libavresample/resample.c c->filter_bank = av_mallocz(c->filter_length * (phase_count + 1) * felem_size); av_mallocz 33 libavutil/aes.c return av_mallocz(sizeof(struct AVAES)); av_mallocz 38 libavutil/aes_ctr.c return av_mallocz(sizeof(struct AVAESCTR)); av_mallocz 69 libavutil/audio_fifo.c af = av_mallocz(sizeof(*af)); av_mallocz 306 libavutil/blowfish.c return av_mallocz(sizeof(struct AVBlowfish)); av_mallocz 36 libavutil/buffer.c buf = av_mallocz(sizeof(*buf)); av_mallocz 49 libavutil/buffer.c ref = av_mallocz(sizeof(*ref)); av_mallocz 95 libavutil/buffer.c AVBufferRef *ret = av_mallocz(sizeof(*ret)); av_mallocz 222 libavutil/buffer.c AVBufferPool *pool = av_mallocz(sizeof(*pool)); av_mallocz 241 libavutil/buffer.c AVBufferPool *pool = av_mallocz(sizeof(*pool)); av_mallocz 320 libavutil/buffer.c buf = av_mallocz(sizeof(*buf)); av_mallocz 349 libavutil/camellia.c return av_mallocz(sizeof(struct AVCAMELLIA)); av_mallocz 453 libavutil/cast5.c return av_mallocz(sizeof(struct AVCAST5)); av_mallocz 275 libavutil/des.c return av_mallocz(sizeof(struct AVDES)); av_mallocz 89 libavutil/dict.c m = *pm = av_mallocz(sizeof(*m)); av_mallocz 117 libavutil/dict.c char *newval = av_mallocz(len); av_mallocz 27 libavutil/dovi_meta.c av_mallocz(sizeof(AVDOVIDecoderConfigurationRecord)); av_mallocz 43 libavutil/encryption_info.c info = av_mallocz(sizeof(*info)); av_mallocz 47 libavutil/encryption_info.c info->key_id = av_mallocz(key_id_size); av_mallocz 49 libavutil/encryption_info.c info->iv = av_mallocz(iv_size); av_mallocz 182 libavutil/encryption_info.c info = av_mallocz(sizeof(*info)); av_mallocz 186 libavutil/encryption_info.c info->system_id = av_mallocz(system_id_size); av_mallocz 191 libavutil/encryption_info.c info->data = av_mallocz(data_size); av_mallocz 203 libavutil/encryption_info.c info->key_ids[i] = av_mallocz(key_id_size); av_mallocz 348 libavutil/eval.c AVExpr *d = av_mallocz(sizeof(AVExpr)); av_mallocz 508 libavutil/eval.c AVExpr *e = av_mallocz(sizeof(AVExpr)); av_mallocz 727 libavutil/eval.c e->var= av_mallocz(sizeof(double) *VARS); av_mallocz 32 libavutil/fifo.c f = av_mallocz(sizeof(AVFifoBuffer)); av_mallocz 137 libavutil/float_dsp.c AVFloatDSPContext *fdsp = av_mallocz(sizeof(AVFloatDSPContext)); av_mallocz 192 libavutil/frame.c AVFrame *frame = av_mallocz(sizeof(*frame)); av_mallocz 713 libavutil/frame.c ret = av_mallocz(sizeof(*ret)); av_mallocz 109 libavutil/hash.c res = av_mallocz(sizeof(*res)); av_mallocz 26 libavutil/hdr_dynamic_metadata.c AVDynamicHDRPlus *hdr_plus = av_mallocz(sizeof(AVDynamicHDRPlus)); av_mallocz 74 libavutil/hmac.c AVHMAC *c = av_mallocz(sizeof(*c)); av_mallocz 158 libavutil/hwcontext.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 162 libavutil/hwcontext.c ctx->internal = av_mallocz(sizeof(*ctx->internal)); av_mallocz 167 libavutil/hwcontext.c ctx->internal->priv = av_mallocz(hw_type->device_priv_size); av_mallocz 173 libavutil/hwcontext.c ctx->hwctx = av_mallocz(hw_type->device_hwctx_size); av_mallocz 254 libavutil/hwcontext.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 258 libavutil/hwcontext.c ctx->internal = av_mallocz(sizeof(*ctx->internal)); av_mallocz 263 libavutil/hwcontext.c ctx->internal->priv = av_mallocz(hw_type->frames_priv_size); av_mallocz 269 libavutil/hwcontext.c ctx->hwctx = av_mallocz(hw_type->frames_hwctx_size); av_mallocz 573 libavutil/hwcontext.c return av_mallocz(hw_type->device_hwconfig_size); av_mallocz 586 libavutil/hwcontext.c constraints = av_mallocz(sizeof(*constraints)); av_mallocz 747 libavutil/hwcontext.c hwmap = av_mallocz(sizeof(*hwmap)); av_mallocz 292 libavutil/hwcontext_cuda.c hwctx->internal = av_mallocz(sizeof(*hwctx->internal)); av_mallocz 158 libavutil/hwcontext_d3d11va.c AVD3D11FrameDescriptor *desc = av_mallocz(sizeof(*desc)); av_mallocz 113 libavutil/hwcontext_drm.c map = av_mallocz(sizeof(*map)); av_mallocz 305 libavutil/hwcontext_dxva2.c map = av_mallocz(sizeof(*map)); av_mallocz 521 libavutil/hwcontext_dxva2.c priv = av_mallocz(sizeof(*priv)); av_mallocz 1632 libavutil/hwcontext_opencl.c desc = av_mallocz(sizeof(*desc)); av_mallocz 1977 libavutil/hwcontext_opencl.c map = av_mallocz(sizeof(*map)); av_mallocz 2082 libavutil/hwcontext_opencl.c mapping = av_mallocz(sizeof(*mapping)); av_mallocz 2268 libavutil/hwcontext_opencl.c desc = av_mallocz(sizeof(*desc)); av_mallocz 2687 libavutil/hwcontext_opencl.c mapping = av_mallocz(sizeof(*mapping)); av_mallocz 1235 libavutil/hwcontext_qsv.c priv = av_mallocz(sizeof(*priv)); av_mallocz 1158 libavutil/hwcontext_vaapi.c drm_desc = av_mallocz(sizeof(*drm_desc)); av_mallocz 1259 libavutil/hwcontext_vaapi.c mapping = av_mallocz(sizeof(*mapping)); av_mallocz 1479 libavutil/hwcontext_vaapi.c priv = av_mallocz(sizeof(*priv)); av_mallocz 1677 libavutil/hwcontext_vaapi.c priv = av_mallocz(sizeof(*priv)); av_mallocz 456 libavutil/hwcontext_vdpau.c priv = av_mallocz(sizeof(*priv)); av_mallocz 755 libavutil/hwcontext_vulkan.c cmd->queues = av_mallocz(num_queues * sizeof(*cmd->queues)); av_mallocz 759 libavutil/hwcontext_vulkan.c cmd->bufs = av_mallocz(num_queues * sizeof(*cmd->bufs)); av_mallocz 1834 libavutil/hwcontext_vulkan.c VulkanMapping *map = av_mallocz(sizeof(VulkanMapping)); av_mallocz 2206 libavutil/hwcontext_vulkan.c map = av_mallocz(sizeof(VulkanMapping)); av_mallocz 2293 libavutil/hwcontext_vulkan.c dst_f->internal = dst_int = av_mallocz(sizeof(*dst_f->internal)); av_mallocz 2536 libavutil/hwcontext_vulkan.c AVDRMFrameDescriptor *drm_desc = av_mallocz(sizeof(*drm_desc)); av_mallocz 2724 libavutil/hwcontext_vulkan.c ImageBuffer *vkbuf = av_mallocz(sizeof(*vkbuf)); av_mallocz 3296 libavutil/hwcontext_vulkan.c return av_mallocz(sizeof(AVVkFrame)); av_mallocz 151 libavutil/internal.h p = av_mallocz(size);\ av_mallocz 29 libavutil/mastering_display_metadata.c return av_mallocz(sizeof(AVMasteringDisplayMetadata)); av_mallocz 47 libavutil/mastering_display_metadata.c AVContentLightMetadata *metadata = av_mallocz(sizeof(AVContentLightMetadata)); av_mallocz 50 libavutil/md5.c return av_mallocz(sizeof(struct AVMD5)); av_mallocz 195 libavutil/mem.c return av_mallocz(result); av_mallocz 250 libavutil/mem.c return av_mallocz(result); av_mallocz 207 libavutil/mem.h void *av_mallocz(size_t size) av_malloc_attrib av_alloc_size(1); av_mallocz 38 libavutil/mem_internal.h val = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); av_mallocz 34 libavutil/murmur3.c return av_mallocz(sizeof(AVMurMur3)); av_mallocz 1848 libavutil/opt.c AVOptionRanges *ranges = av_mallocz(sizeof(*ranges)); av_mallocz 1849 libavutil/opt.c AVOptionRange **range_array = av_mallocz(sizeof(void*)); av_mallocz 1850 libavutil/opt.c AVOptionRange *range = av_mallocz(sizeof(*range)); av_mallocz 43 libavutil/pca.c pca= av_mallocz(sizeof(*pca)); av_mallocz 30 libavutil/rc4.c return av_mallocz(sizeof(struct AVRC4)); av_mallocz 45 libavutil/ripemd.c return av_mallocz(sizeof(struct AVRIPEMD)); av_mallocz 47 libavutil/sha.c return av_mallocz(sizeof(struct AVSHA)); av_mallocz 45 libavutil/sha512.c return av_mallocz(sizeof(struct AVSHA512)); av_mallocz 115 libavutil/slicethread.c *pctx = ctx = av_mallocz(sizeof(*ctx)); av_mallocz 26 libavutil/spherical.c AVSphericalMapping *spherical = av_mallocz(sizeof(AVSphericalMapping)); av_mallocz 30 libavutil/stereo3d.c return av_mallocz(sizeof(AVStereo3D)); av_mallocz 37 libavutil/tea.c return av_mallocz(sizeof(struct AVTEA)); av_mallocz 32 libavutil/tests/murmur3.c uint8_t *hashes = av_mallocz(256 * 16); av_mallocz 50 libavutil/tests/murmur3.c uint8_t *in = av_mallocz(512*1024); av_mallocz 50 libavutil/threadmessage.c if (!(rmq = av_mallocz(sizeof(*rmq)))) av_mallocz 36 libavutil/tree.c return av_mallocz(sizeof(struct AVTreeNode)); av_mallocz 117 libavutil/twofish.c return av_mallocz(sizeof(struct AVTWOFISH)); av_mallocz 127 libavutil/tx.c AVTXContext *s = av_mallocz(sizeof(*s)); av_mallocz 41 libavutil/video_enc_params.c par = av_mallocz(size); av_mallocz 39 libavutil/xtea.c return av_mallocz(sizeof(struct AVXTEA)); av_mallocz 843 libpostproc/postprocess.c *p= av_mallocz(size); av_mallocz 880 libpostproc/postprocess.c PPContext *c= av_mallocz(sizeof(PPContext)); av_mallocz 155 libswresample/audioconvert.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 150 libswresample/options.c SwrContext *s= av_mallocz(sizeof(SwrContext)); av_mallocz 400 libswresample/rematrix.c s->native_one = av_mallocz(sizeof(int)); av_mallocz 427 libswresample/rematrix.c s->native_one = av_mallocz(sizeof(float)); av_mallocz 439 libswresample/rematrix.c s->native_one = av_mallocz(sizeof(double)); av_mallocz 450 libswresample/rematrix.c s->native_one = av_mallocz(sizeof(int)); av_mallocz 314 libswresample/resample.c c = av_mallocz(sizeof(*c)); av_mallocz 54 libswresample/x86/rematrix_init.c s->native_simd_one = av_mallocz(2 * sizeof(int16_t)); av_mallocz 81 libswresample/x86/rematrix_init.c s->native_simd_one = av_mallocz(sizeof(float)); av_mallocz 119 libswscale/tests/swscale.c src[p] = av_mallocz(srcStride[p] * srcH + 16); av_mallocz 159 libswscale/tests/swscale.c dst[i] = av_mallocz(dstStride[i] * dstH + 16); av_mallocz 198 libswscale/tests/swscale.c out[i] = av_mallocz(refStride[i] * h); av_mallocz 1086 libswscale/utils.c SwsContext *c = av_mallocz(sizeof(SwsContext)); av_mallocz 219 libswscale/vscale.c lumCtx = av_mallocz(sizeof(VScalerContext)); av_mallocz 231 libswscale/vscale.c chrCtx = av_mallocz(sizeof(VScalerContext)); av_mallocz 40 tests/checkasm/huffyuvdsp.c uint16_t *src0 = av_mallocz(width * sizeof(uint16_t)); av_mallocz 41 tests/checkasm/huffyuvdsp.c uint16_t *src1 = av_mallocz(width * sizeof(uint16_t)); av_mallocz 42 tests/checkasm/huffyuvdsp.c uint16_t *dst0 = av_mallocz(width * sizeof(uint16_t)); av_mallocz 43 tests/checkasm/huffyuvdsp.c uint16_t *dst1 = av_mallocz(width * sizeof(uint16_t)); av_mallocz 47 tests/checkasm/llviddsp.c uint8_t *dst0 = av_mallocz(width); av_mallocz 48 tests/checkasm/llviddsp.c uint8_t *dst1 = av_mallocz(width); av_mallocz 75 tests/checkasm/llviddsp.c uint8_t *dst0 = av_mallocz(width); av_mallocz 76 tests/checkasm/llviddsp.c uint8_t *dst1 = av_mallocz(width); av_mallocz 113 tests/checkasm/llviddsp.c uint8_t *dst0 = av_mallocz(width); av_mallocz 114 tests/checkasm/llviddsp.c uint8_t *dst1 = av_mallocz(width); av_mallocz 176 tests/checkasm/llviddsp.c src0 = av_mallocz(src_size); av_mallocz 177 tests/checkasm/llviddsp.c src1 = av_mallocz(src_size); av_mallocz 116 tools/graph2dot.c AVFilterGraph *graph = av_mallocz(sizeof(AVFilterGraph)); av_mallocz 457 tools/ismindex.c track->codec_private = av_mallocz(codecpar->extradata_size); av_mallocz 534 tools/ismindex.c track = av_mallocz(sizeof(*track)); av_mallocz 155 tools/sidxindex.c track = av_mallocz(sizeof(*track)); av_mallocz 91 tools/target_bsf_fuzzer.c bsf->par_in->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE); av_mallocz 253 tools/target_dec_fuzzer.c ctx->extradata = av_mallocz(extradata_size + AV_INPUT_BUFFER_PADDING_SIZE);