av_mallocz 255 cmdutils.c win32_argv_utf8 = av_mallocz(sizeof(char *) * (win32_argc + 1) + buffsize); av_mallocz 68 compat/os2threads.h thread_arg = av_mallocz(sizeof(struct thread_arg)); av_mallocz 178 compat/w32pthreads.h win32_cond = av_mallocz(sizeof(win32_cond_t)); av_mallocz 171 doc/examples/qsvdec.c surf = av_mallocz(sizeof(*surf)); av_mallocz 407 doc/examples/qsvdec.c decoder_ctx->extradata = av_mallocz(video_st->codec->extradata_size + av_mallocz 594 ffmpeg.c ost->st->codec->extradata = av_mallocz(ost->enc_ctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2551 ffmpeg.c encoder_string = av_mallocz(encoder_string_len); av_mallocz 2670 ffmpeg.c enc_ctx->extradata = av_mallocz(extra_size); av_mallocz 3021 ffmpeg.c ost->enc_ctx->subtitle_header = av_mallocz(dec->subtitle_header_size + 1); av_mallocz 226 ffmpeg_dxva2.c w = av_mallocz(sizeof(*w)); av_mallocz 314 ffmpeg_dxva2.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 403 ffmpeg_dxva2.c s->hwaccel_context = av_mallocz(sizeof(struct dxva_context)); av_mallocz 553 ffmpeg_dxva2.c ctx->surfaces = av_mallocz(ctx->num_surfaces * sizeof(*ctx->surfaces)); av_mallocz 554 ffmpeg_dxva2.c ctx->surface_infos = av_mallocz(ctx->num_surfaces * sizeof(*ctx->surface_infos)); av_mallocz 189 ffmpeg_filter.c FilterGraph *fg = av_mallocz(sizeof(*fg)); av_mallocz 196 ffmpeg_filter.c if (!(fg->outputs[0] = av_mallocz(sizeof(*fg->outputs[0])))) av_mallocz 204 ffmpeg_filter.c if (!(fg->inputs[0] = av_mallocz(sizeof(*fg->inputs[0])))) av_mallocz 282 ffmpeg_filter.c if (!(fg->inputs[fg->nb_inputs - 1] = av_mallocz(sizeof(*fg->inputs[0])))) av_mallocz 935 ffmpeg_filter.c if (!(fg->outputs[fg->nb_outputs - 1] = av_mallocz(sizeof(*fg->outputs[0])))) av_mallocz 583 ffmpeg_opt.c InputStream *ist = av_mallocz(sizeof(*ist)); av_mallocz 940 ffmpeg_opt.c f = av_mallocz(sizeof(*f)); av_mallocz 1095 ffmpeg_opt.c if (!(ost = av_mallocz(sizeof(*ost)))) av_mallocz 1364 ffmpeg_opt.c if (!(video_enc->intra_matrix = av_mallocz(sizeof(*video_enc->intra_matrix) * 64))) { av_mallocz 1372 ffmpeg_opt.c uint16_t *p = av_mallocz(sizeof(*video_enc->chroma_intra_matrix) * 64); av_mallocz 1382 ffmpeg_opt.c if (!(video_enc->inter_matrix = av_mallocz(sizeof(*video_enc->inter_matrix) * 64))) { av_mallocz 1633 ffmpeg_opt.c out_ch = av_mallocz(sizeof(AVChapter)); av_mallocz 1789 ffmpeg_opt.c of = av_mallocz(sizeof(*of)); av_mallocz 2584 ffmpeg_opt.c ac_str = av_mallocz(ac_str_size); av_mallocz 2605 ffmpeg_opt.c if (!(filtergraphs[nb_filtergraphs - 1] = av_mallocz(sizeof(*filtergraphs[0])))) av_mallocz 2621 ffmpeg_opt.c if (!(filtergraphs[nb_filtergraphs - 1] = av_mallocz(sizeof(*filtergraphs[0])))) av_mallocz 110 ffmpeg_vda.c vda = av_mallocz(sizeof(*vda)); av_mallocz 208 ffmpeg_vdpau.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 3201 ffplay.c is = av_mallocz(sizeof(VideoState)); av_mallocz 415 ffprobe.c if (!(*wctx = av_mallocz(sizeof(WriterContext)))) { av_mallocz 420 ffprobe.c if (!((*wctx)->priv = av_mallocz(writer->priv_size))) { av_mallocz 757 ffserver.c c = av_mallocz(sizeof(HTTPContext)); av_mallocz 1206 ffserver.c acl = av_mallocz(sizeof(FFServerIPAddressACL)); av_mallocz 2132 ffserver.c c->fmt_ctx.streams[i] = av_mallocz(sizeof(AVStream)); av_mallocz 2842 ffserver.c *pbuffer = av_mallocz(2048); av_mallocz 3193 ffserver.c c = av_mallocz(sizeof(HTTPContext)); av_mallocz 3263 ffserver.c st = av_mallocz(sizeof(AVStream)); av_mallocz 3353 ffserver.c fst = av_mallocz(sizeof(AVStream)); av_mallocz 3365 ffserver.c fst->priv_data = av_mallocz(sizeof(FeedData)); av_mallocz 3467 ffserver.c st->codec->extradata = av_mallocz(size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 154 ffserver_config.c FFServerIPAddressACL *nacl = av_mallocz(sizeof(*nacl)); av_mallocz 317 ffserver_config.c st = av_mallocz(sizeof(AVStream)); av_mallocz 696 ffserver_config.c feed = av_mallocz(sizeof(FFServerStream)); av_mallocz 807 ffserver_config.c stream = av_mallocz(sizeof(FFServerStream)); av_mallocz 1172 ffserver_config.c redirect = av_mallocz(sizeof(FFServerStream)); av_mallocz 999 libavcodec/4xm.c f->frame_buffer = av_mallocz(avctx->width * avctx->height * 2); av_mallocz 1000 libavcodec/4xm.c f->last_frame_buffer = av_mallocz(avctx->width * avctx->height * 2); av_mallocz 230 libavcodec/a64multienc.c !(c->mc_colram = av_mallocz(CHARSET_CHARS * sizeof(uint8_t))) || av_mallocz 237 libavcodec/a64multienc.c if (!(avctx->extradata = av_mallocz(8 * 4 + FF_INPUT_BUFFER_PADDING_SIZE))) { av_mallocz 92 libavcodec/aac_adtstoasc_bsf.c avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 157 libavcodec/aacdec.c if (!(ac->che[type][id] = av_mallocz(sizeof(ChannelElement)))) av_mallocz 3121 libavcodec/aacdec.c avctx->extradata = av_mallocz(new_extradata_size + av_mallocz 306 libavcodec/aacpsy.c ctx->model_priv_data = av_mallocz(sizeof(AacPsyContext)); av_mallocz 56 libavcodec/ac3_parser.c *phdr = av_mallocz(sizeof(AC3HeaderInfo)); av_mallocz 534 libavcodec/alacenc.c avctx->extradata = av_mallocz(ALAC_EXTRADATA_SIZE + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 1711 libavcodec/alsdec.c ctx->use_ltp = av_mallocz(sizeof(*ctx->use_ltp) * num_buffers); av_mallocz 1755 libavcodec/alsdec.c ctx->raw_buffer = av_mallocz(sizeof(*ctx-> raw_buffer) * avctx->channels * channel_size); av_mallocz 162 libavcodec/ass.c rects[sub->num_rects] = av_mallocz(sizeof(*rects[0])); av_mallocz 358 libavcodec/ass_split.c ASSSplitContext *ctx = av_mallocz(sizeof(*ctx)); av_mallocz 335 libavcodec/asvenc.c avctx->extradata = av_mallocz(8); av_mallocz 888 libavcodec/atrac3.c q->decoded_bytes_buffer = av_mallocz(FFALIGN(avctx->block_align, 4) + av_mallocz 84 libavcodec/avdct.c AVDCT *dsp = av_mallocz(sizeof(AVDCT)); av_mallocz 30 libavcodec/avfft.c FFTContext *s = av_mallocz(sizeof(*s)); av_mallocz 314 libavcodec/avpacket.c pkt->side_data[elems].data = av_mallocz(size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 405 libavcodec/avpacket.c pkt->side_data[i].data = av_mallocz(size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 33 libavcodec/avuienc.c if (!(avctx->extradata = av_mallocz(144 + FF_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 51 libavcodec/bitstream_filter.c av_mallocz(sizeof(AVBitStreamFilterContext)); av_mallocz 57 libavcodec/bitstream_filter.c bsfc->priv_data = av_mallocz(bsf->priv_data_size); av_mallocz 757 libavcodec/cavs.c h->top_qp = av_mallocz(h->mb_width); av_mallocz 768 libavcodec/cavs.c h->col_type_base = av_mallocz(h->mb_width * h->mb_height); av_mallocz 769 libavcodec/cavs.c h->block = av_mallocz(64 * sizeof(int16_t)); av_mallocz 1010 libavcodec/cavsdec.c h->edge_emu_buffer = av_mallocz(alloc_size * 2 * 24); av_mallocz 1239 libavcodec/cook.c av_mallocz(avctx->block_align av_mallocz 239 libavcodec/crystalhd.c OpaqueList *newNode = av_mallocz(sizeof (OpaqueList)); av_mallocz 49 libavcodec/dfa.c s->frame_buf = av_mallocz(avctx->width * avctx->height); av_mallocz 58 libavcodec/dsicinvideo.c cin->bitmap_table[i] = av_mallocz(cin->bitmap_size); av_mallocz 802 libavcodec/dvbsubdec.c sub->rects[i] = av_mallocz(sizeof(*sub->rects[i])); av_mallocz 842 libavcodec/dvbsubdec.c rect->pict.data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 1175 libavcodec/dvbsubdec.c region = av_mallocz(sizeof(DVBSubRegion)); av_mallocz 1242 libavcodec/dvbsubdec.c object = av_mallocz(sizeof(DVBSubObject)); av_mallocz 1253 libavcodec/dvbsubdec.c display = av_mallocz(sizeof(DVBSubObjectDisplay)); av_mallocz 1334 libavcodec/dvbsubdec.c display = av_mallocz(sizeof(DVBSubRegionDisplay)); av_mallocz 1486 libavcodec/dvbsubdec.c display_def = av_mallocz(sizeof(*display_def)); av_mallocz 363 libavcodec/dvdsubdec.c sub_header->rects = av_mallocz(sizeof(*sub_header->rects)); av_mallocz 366 libavcodec/dvdsubdec.c sub_header->rects[0] = av_mallocz(sizeof(AVSubtitleRect)); av_mallocz 379 libavcodec/dvdsubdec.c sub_header->rects[0]->pict.data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 314 libavcodec/eatgv.c !(s->frame_buffer = av_mallocz(s->width * s->height))) av_mallocz 120 libavcodec/ffv1.c FFV1Context *fs = av_mallocz(sizeof(*fs)); av_mallocz 858 libavcodec/ffv1enc.c s->rc_stat2[i] = av_mallocz(s->context_count[i] * av_mallocz 970 libavcodec/ffv1enc.c avctx->stats_out = av_mallocz(STATS_OUT_SIZE); av_mallocz 977 libavcodec/ffv1enc.c sf->rc_stat2[i] = av_mallocz(s->context_count[i] * av_mallocz 185 libavcodec/flac_parser.c *end_handle = av_mallocz(sizeof(**end_handle)); av_mallocz 365 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 126 libavcodec/flashsvenc.c s->tmpblock = av_mallocz(3 * 256 * 256); av_mallocz 127 libavcodec/flashsvenc.c s->encbuffer = av_mallocz(s->image_width * s->image_height * 3); av_mallocz 230 libavcodec/flashsvenc.c s->previous_frame = av_mallocz(FFABS(p->linesize[0]) * s->image_height); av_mallocz 77 libavcodec/frame_thread_encoder.c if(!pkt) pkt= av_mallocz(sizeof(*pkt)); av_mallocz 173 libavcodec/frame_thread_encoder.c c = avctx->internal->frame_thread_encoder = av_mallocz(sizeof(ThreadContext)); av_mallocz 478 libavcodec/g2meet.c c->synth_tile = av_mallocz(c->tile_stride * aligned_height); av_mallocz 479 libavcodec/g2meet.c c->jpeg_tile = av_mallocz(c->tile_stride * aligned_height); av_mallocz 480 libavcodec/g2meet.c c->kempf_buf = av_mallocz((c->tile_width + 1) * aligned_height av_mallocz 482 libavcodec/g2meet.c c->kempf_flags = av_mallocz( c->tile_width * aligned_height); av_mallocz 234 libavcodec/gif.c s->lzw = av_mallocz(ff_lzw_encode_state_size); av_mallocz 322 libavcodec/h264_ps.c sps = av_mallocz(sizeof(SPS)); av_mallocz 599 libavcodec/h264_ps.c pps = av_mallocz(sizeof(PPS)); av_mallocz 174 libavcodec/h264_slice.c h->edge_emu_buffer = av_mallocz(alloc_size * 2 * 21); av_mallocz 1207 libavcodec/h264_slice.c c = h->thread_context[i] = av_mallocz(sizeof(H264Context)); av_mallocz 106 libavcodec/hevc.c s->tab_ipm = av_mallocz(min_pu_size); av_mallocz 111 libavcodec/hevc.c s->filter_slice_edges = av_mallocz(ctb_count); av_mallocz 2423 libavcodec/hevc.c s->HEVClcList[i] = av_mallocz(sizeof(HEVCLocalContext)); av_mallocz 3240 libavcodec/hevc.c s->HEVClc = av_mallocz(sizeof(HEVCLocalContext)); av_mallocz 311 libavcodec/hevc_parser.c h->HEVClc = av_mallocz(sizeof(HEVCLocalContext)); av_mallocz 1220 libavcodec/hevc_ps.c HEVCPPS *pps = av_mallocz(sizeof(*pps)); av_mallocz 473 libavcodec/hnm4video.c hnm->buffer1 = av_mallocz(avctx->width * avctx->height); av_mallocz 474 libavcodec/hnm4video.c hnm->buffer2 = av_mallocz(avctx->width * avctx->height); av_mallocz 475 libavcodec/hnm4video.c hnm->processed = av_mallocz(avctx->width * avctx->height); av_mallocz 119 libavcodec/huffyuvdec.c uint16_t *symbols = av_mallocz(5 << VLC_BITS); av_mallocz 222 libavcodec/huffyuvenc.c avctx->extradata = av_mallocz(3*MAX_N + 4); av_mallocz 227 libavcodec/huffyuvenc.c avctx->stats_out = av_mallocz(STATS_OUT_SIZE); // 21*256*3(%llu ) + 3(\n) + 1(0) = 16132 av_mallocz 205 libavcodec/iirfilter.c FFIIRFilterState* s = av_mallocz(sizeof(FFIIRFilterState) + sizeof(s->x[0]) * (order - 1)); av_mallocz 100 libavcodec/imdct15.c s = av_mallocz(sizeof(*s)); av_mallocz 697 libavcodec/intrax8.c w->prediction_table=av_mallocz(s->mb_width*2*2);//two rows, 2 blocks per cannon mb av_mallocz 355 libavcodec/ivi_common.c band->bufs[0] = av_mallocz(buf_size); av_mallocz 356 libavcodec/ivi_common.c band->bufs[1] = av_mallocz(buf_size); av_mallocz 363 libavcodec/ivi_common.c band->bufs[2] = av_mallocz(buf_size); av_mallocz 368 libavcodec/ivi_common.c band->bufs[3] = av_mallocz(buf_size); av_mallocz 311 libavcodec/jpeg2000dec.c tile->comp = av_mallocz(s->ncomponents * sizeof(*tile->comp)); av_mallocz 341 libavcodec/jpeglsdec.c zero = av_mallocz(s->picture_ptr->linesize[0]); av_mallocz 345 libavcodec/jpeglsdec.c state = av_mallocz(sizeof(JLSState)); av_mallocz 304 libavcodec/jpeglsenc.c state = av_mallocz(sizeof(JLSState)); av_mallocz 315 libavcodec/jpeglsenc.c zero = av_mallocz(FFABS(p->linesize[0])); av_mallocz 73 libavcodec/kgv1dec.c c->frame_buffer = av_mallocz(avctx->width * avctx->height * 2); av_mallocz 74 libavcodec/kgv1dec.c c->last_frame_buffer = av_mallocz(avctx->width * avctx->height * 2); av_mallocz 134 libavcodec/lclenc.c avctx->extradata = av_mallocz(8 + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 294 libavcodec/libfdk-aacenc.c avctx->extradata = av_mallocz(avctx->extradata_size + av_mallocz 146 libavcodec/libopenh264enc.c avctx->extradata = av_mallocz(size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 84 libavcodec/libschroedinger.c FFSchroQueueElement *p_new = av_mallocz(sizeof(FFSchroQueueElement)); av_mallocz 193 libavcodec/libschroedinger.c p_pic = av_mallocz(sizeof(AVPicture)); av_mallocz 336 libavcodec/libschroedingerenc.c p_frame_output = av_mallocz(sizeof(FFSchroEncodedFrame)); av_mallocz 169 libavcodec/libstagefright.cpp frame = (Frame*)av_mallocz(sizeof(Frame)); av_mallocz 274 libavcodec/libstagefright.cpp s->orig_extradata = (uint8_t*) av_mallocz(avctx->extradata_size + av_mallocz 300 libavcodec/libstagefright.cpp s->end_frame = (Frame*)av_mallocz(sizeof(Frame)); av_mallocz 386 libavcodec/libstagefright.cpp frame = (Frame*)av_mallocz(sizeof(Frame)); av_mallocz 492 libavcodec/libstagefright.cpp if (s->dummy_buf && (frame = (Frame*)av_mallocz(sizeof(Frame)))) { av_mallocz 107 libavcodec/libvo-aacenc.c avctx->extradata = av_mallocz(avctx->extradata_size + av_mallocz 264 libavcodec/libzvbi-teletextdec.c sub_rect->pict.data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 333 libavcodec/libzvbi-teletextdec.c cur_page->sub_rect = av_mallocz(sizeof(*cur_page->sub_rect)); av_mallocz 275 libavcodec/lpc.c s->windowed_buffer = av_mallocz((blocksize + 2 + FFALIGN(max_order, 4)) * av_mallocz 111 libavcodec/lzw.c *p = av_mallocz(sizeof(struct LZWState)); av_mallocz 78 libavcodec/movtextenc.c avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 1876 libavcodec/mpegaudiodec_template.c s->mp3decctx[0] = av_mallocz(sizeof(MPADecodeContext)); av_mallocz 1890 libavcodec/mpegaudiodec_template.c s->mp3decctx[i] = av_mallocz(sizeof(MPADecodeContext)); av_mallocz 1148 libavcodec/mpegvideo.c er->error_status_table = av_mallocz(mb_array_size); av_mallocz 822 libavcodec/mss2.c c->pal_pic = av_mallocz(c->pal_stride * avctx->height); av_mallocz 823 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 820 libavcodec/nvenc.c avctx->extradata = av_mallocz(outSize + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 898 libavcodec/nvenc.c uint32_t *slice_offsets = av_mallocz(ctx->encode_config.encodeCodecConfig.h264Config.sliceModeData * sizeof(*slice_offsets)); av_mallocz 125 libavcodec/options.c s->priv_data= av_mallocz(codec->priv_data_size); av_mallocz 2199 libavcodec/opus_celt.c s = av_mallocz(sizeof(*s)); av_mallocz 1585 libavcodec/opus_silk.c s = av_mallocz(sizeof(*s)); av_mallocz 101 libavcodec/pafvideo.c c->frame[i] = av_mallocz(c->frame_size); av_mallocz 70 libavcodec/parser.c s = av_mallocz(sizeof(AVCodecParserContext)); av_mallocz 74 libavcodec/parser.c s->priv_data = av_mallocz(parser->priv_data_size); av_mallocz 527 libavcodec/pgssubdec.c sub->rects[i] = av_mallocz(sizeof(*sub->rects[0])); av_mallocz 581 libavcodec/pgssubdec.c sub->rects[i]->pict.data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 1226 libavcodec/proresenc_kostya.c ctx->tdata = av_mallocz(avctx->thread_count * sizeof(*ctx->tdata)); av_mallocz 101 libavcodec/psymodel.c ctx = av_mallocz(sizeof(FFPsyPreprocessContext)); av_mallocz 636 libavcodec/pthread_frame.c avctx->internal->thread_ctx = fctx = av_mallocz(sizeof(FrameThreadContext)); av_mallocz 212 libavcodec/pthread_slice.c c = av_mallocz(sizeof(SliceThreadContext)); av_mallocz 247 libavcodec/qsv.c frame = av_mallocz(sizeof(*frame)); av_mallocz 32 libavcodec/qsv_api.c return av_mallocz(sizeof(AVQSVContext)); av_mallocz 115 libavcodec/qsv_h264.c s->avctx_internal->extradata = av_mallocz(avctx->extradata_size + FF_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 174 libavcodec/ratecontrol.c rcc->entry = av_mallocz(i * sizeof(RateControlEntry)); av_mallocz 230 libavcodec/resample.c s = av_mallocz(sizeof(ReSampleContext)); av_mallocz 193 libavcodec/resample2.c AVResampleContext *c= av_mallocz(sizeof(AVResampleContext)); av_mallocz 164 libavcodec/rl2.c uint8_t *back_frame = av_mallocz(avctx->width*avctx->height); av_mallocz 1374 libavcodec/rv34.c r->cbp_chroma = av_mallocz(r->s.mb_stride * r->s.mb_height * av_mallocz 1376 libavcodec/rv34.c r->cbp_luma = av_mallocz(r->s.mb_stride * r->s.mb_height * av_mallocz 1378 libavcodec/rv34.c r->deblock_coefs = av_mallocz(r->s.mb_stride * r->s.mb_height * av_mallocz 1382 libavcodec/rv34.c r->mb_type = av_mallocz(r->s.mb_stride * r->s.mb_height * av_mallocz 197 libavcodec/smacker.c tmp1.bits = av_mallocz(256 * 4); av_mallocz 198 libavcodec/smacker.c tmp1.lengths = av_mallocz(256 * sizeof(int)); av_mallocz 199 libavcodec/smacker.c tmp1.values = av_mallocz(256 * sizeof(int)); av_mallocz 204 libavcodec/smacker.c tmp2.bits = av_mallocz(256 * 4); av_mallocz 205 libavcodec/smacker.c tmp2.lengths = av_mallocz(256 * sizeof(int)); av_mallocz 206 libavcodec/smacker.c tmp2.values = av_mallocz(256 * sizeof(int)); av_mallocz 681 libavcodec/smacker.c h[i].bits = av_mallocz(256 * 4); av_mallocz 682 libavcodec/smacker.c h[i].lengths = av_mallocz(256 * sizeof(int)); av_mallocz 683 libavcodec/smacker.c h[i].values = av_mallocz(256 * sizeof(int)); av_mallocz 78 libavcodec/snowenc.c s->m.me.map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); av_mallocz 79 libavcodec/snowenc.c s->m.me.score_map = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t)); av_mallocz 80 libavcodec/snowenc.c s->m.obmc_scratchpad= av_mallocz(MB_SIZE*MB_SIZE*12*sizeof(uint32_t)); av_mallocz 90 libavcodec/snowenc.c avctx->stats_out = av_mallocz(256); av_mallocz 662 libavcodec/sonic.c avctx->extradata = av_mallocz(16); av_mallocz 47 libavcodec/sp5xdec.c recoded = av_mallocz(buf_size + 1024); av_mallocz 298 libavcodec/svq1enc.c s->motion_val8[plane] = av_mallocz((s->m.b8_stride * av_mallocz 301 libavcodec/svq1enc.c s->motion_val16[plane] = av_mallocz((s->m.mb_stride * av_mallocz 550 libavcodec/svq1enc.c s->m.me.scratchpad = av_mallocz((avctx->width + 64) * av_mallocz 552 libavcodec/svq1enc.c s->m.me.map = av_mallocz(ME_MAP_SIZE * sizeof(uint32_t)); av_mallocz 553 libavcodec/svq1enc.c s->m.me.score_map = av_mallocz(ME_MAP_SIZE * sizeof(uint32_t)); av_mallocz 554 libavcodec/svq1enc.c s->mb_type = av_mallocz((s->y_block_width + 1) * av_mallocz 556 libavcodec/svq1enc.c s->dummy = av_mallocz((s->y_block_width + 1) * av_mallocz 880 libavcodec/svq3.c s->cur_pic = av_mallocz(sizeof(*s->cur_pic)); av_mallocz 881 libavcodec/svq3.c s->last_pic = av_mallocz(sizeof(*s->last_pic)); av_mallocz 882 libavcodec/svq3.c s->next_pic = av_mallocz(sizeof(*s->next_pic)); av_mallocz 132 libavcodec/utils.c *p = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); av_mallocz 930 libavcodec/utils.c priv = av_mallocz(sizeof(*priv)); av_mallocz 1175 libavcodec/utils.c avctx->internal->hwaccel_priv_data = av_mallocz(hwa->priv_data_size); av_mallocz 1355 libavcodec/utils.c avctx->internal = av_mallocz(sizeof(AVCodecInternal)); av_mallocz 1361 libavcodec/utils.c avctx->internal->pool = av_mallocz(sizeof(*avctx->internal->pool)); av_mallocz 1375 libavcodec/utils.c avctx->priv_data = av_mallocz(codec->priv_data_size); av_mallocz 168 libavcodec/utvideoenc.c avctx->extradata = av_mallocz(avctx->extradata_size + av_mallocz 251 libavcodec/vb.c c->frame = av_mallocz(avctx->width * avctx->height); av_mallocz 252 libavcodec/vb.c c->prev_frame = av_mallocz(avctx->width * avctx->height); av_mallocz 332 libavcodec/vc1dec.c v->fieldtx_plane = av_mallocz(s->mb_stride * mb_height); av_mallocz 342 libavcodec/vc1dec.c v->is_intra_base = av_mallocz(sizeof(v->is_intra_base[0]) * 2 * s->mb_stride); av_mallocz 344 libavcodec/vc1dec.c v->luma_mv_base = av_mallocz(sizeof(v->luma_mv_base[0]) * 2 * s->mb_stride); av_mallocz 354 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 356 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 359 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 485 libavcodec/vc1dec.c buf2 = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 653 libavcodec/vc1dec.c buf2 = av_mallocz(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 682 libavcodec/vc1dec.c slices[n_slices].buf = av_mallocz(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 707 libavcodec/vc1dec.c slices[n_slices].buf = av_mallocz(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 736 libavcodec/vc1dec.c slices[n_slices].buf = av_mallocz(buf_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 29 libavcodec/vda.c AVVDAContext *ret = av_mallocz(sizeof(*ret)); av_mallocz 163 libavcodec/vda_h264.c context = av_mallocz(sizeof(*context)); av_mallocz 90 libavcodec/vda_h264_dec.c VDABufferContext *context = av_mallocz(sizeof(VDABufferContext)); av_mallocz 744 libavcodec/vdpau.c return av_mallocz(sizeof(AVVDPAUContext)); 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 690 libavcodec/vorbisdec.c vc->residues = av_mallocz(vc->residue_count * sizeof(*vc->residues)); av_mallocz 771 libavcodec/vorbisdec.c vc->mappings = av_mallocz(vc->mapping_count * sizeof(*vc->mappings)); av_mallocz 792 libavcodec/vorbisdec.c mapping_setup->magnitude = av_mallocz(mapping_setup->coupling_steps * av_mallocz 794 libavcodec/vorbisdec.c mapping_setup->angle = av_mallocz(mapping_setup->coupling_steps * av_mallocz 881 libavcodec/vorbisdec.c vc->modes = av_mallocz(vc->mode_count * sizeof(*vc->modes)); av_mallocz 590 libavcodec/vorbisenc.c uint8_t *buffer = av_mallocz(buffer_len), *p = buffer; av_mallocz 701 libavcodec/vorbisenc.c p = *out = av_mallocz(64 + len + len/255); av_mallocz 1673 libavcodec/vp3.c s->superblock_coding = av_mallocz(s->superblock_count); av_mallocz 1685 libavcodec/vp3.c s->macroblock_coding = av_mallocz(s->macroblock_count + 1); av_mallocz 621 libavcodec/vp6.c s->alpha_context = av_mallocz(sizeof(VP56Context)); av_mallocz 169 libavcodec/vp8.c s->macroblocks_base = av_mallocz((s->mb_width + s->mb_height * 2 + 1) * av_mallocz 171 libavcodec/vp8.c s->intra4x4_pred_mode_top = av_mallocz(s->mb_width * 4); av_mallocz 173 libavcodec/vp8.c s->macroblocks_base = av_mallocz((s->mb_width + 2) * (s->mb_height + 2) * av_mallocz 175 libavcodec/vp8.c s->top_nnz = av_mallocz(s->mb_width * sizeof(*s->top_nnz)); av_mallocz 176 libavcodec/vp8.c s->top_border = av_mallocz((s->mb_width + 1) * sizeof(*s->top_border)); av_mallocz 177 libavcodec/vp8.c s->thread_data = av_mallocz(MAX_THREADS * sizeof(VP8ThreadData)); av_mallocz 187 libavcodec/vp8.c av_mallocz(s->mb_width * sizeof(*s->thread_data[0].filter_strength)); av_mallocz 374 libavcodec/vp9.c s->block_base = av_mallocz((64 * 64 + 128) * sbs * 3); av_mallocz 384 libavcodec/vp9.c s->block_base = av_mallocz((64 * 64 + 128) * 3); av_mallocz 182 libavcodec/vqavideo.c s->decode_buffer = av_mallocz(s->decode_buffer_size); av_mallocz 582 libavcodec/wavpack.c c->fdec[c->fdec_num] = av_mallocz(sizeof(**c->fdec)); av_mallocz 69 libavcodec/wmaenc.c extradata = av_mallocz(10); av_mallocz 65 libavcodec/wmv2enc.c avctx->extradata = av_mallocz(avctx->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 95 libavcodec/xsubdec.c sub->rects = av_mallocz(sizeof(*sub->rects)); av_mallocz 99 libavcodec/xsubdec.c sub->rects[0] = av_mallocz(sizeof(*sub->rects[0])); av_mallocz 110 libavcodec/xsubdec.c sub->rects[0]->pict.data[1] = av_mallocz(AVPALETTE_SIZE); av_mallocz 596 libavcodec/zmbv.c if (!(c->decomp_buf = av_mallocz(c->decomp_size))) { av_mallocz 364 libavdevice/alsa-audio-common.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_dec.cpp ctx = (struct decklink_ctx *) av_mallocz(sizeof(struct decklink_ctx)); av_mallocz 323 libavdevice/decklink_enc.cpp ctx = (struct decklink_ctx *) av_mallocz(sizeof(struct decklink_ctx)); av_mallocz 172 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 185 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 1050 libavdevice/v4l2.c device = av_mallocz(sizeof(AVDeviceInfo)); av_mallocz 186 libavdevice/vfwcap.c pktl_next = av_mallocz(sizeof(AVPacketList)); av_mallocz 231 libavfilter/af_amix.c s->frame_list = av_mallocz(sizeof(*s->frame_list)); av_mallocz 235 libavfilter/af_amix.c s->fifos = av_mallocz(s->nb_inputs * sizeof(*s->fifos)); av_mallocz 92 libavfilter/audio.c AVFilterBuffer *samples = av_mallocz(sizeof(*samples)); av_mallocz 93 libavfilter/audio.c AVFilterBufferRef *samplesref = av_mallocz(sizeof(*samplesref)); av_mallocz 104 libavfilter/audio.c if (!(samplesref->audio = av_mallocz(sizeof(*samplesref->audio)))) av_mallocz 148 libavfilter/avfilter.c link = av_mallocz(sizeof(*link)); av_mallocz 627 libavfilter/avfilter.c ret = av_mallocz(sizeof(AVFilterContext)); av_mallocz 635 libavfilter/avfilter.c ret->priv = av_mallocz(filter->priv_size); av_mallocz 646 libavfilter/avfilter.c ret->internal = av_mallocz(sizeof(*ret->internal)); av_mallocz 78 libavfilter/avfiltergraph.c AVFilterGraph *ret = av_mallocz(sizeof(*ret)); av_mallocz 82 libavfilter/avfiltergraph.c ret->internal = av_mallocz(sizeof(*ret->internal)); av_mallocz 1264 libavfilter/avfiltergraph.c *queue = av_mallocz(sizeof(AVFilterCommand)); av_mallocz 236 libavfilter/buffersink.c AVABufferSinkParams *params = av_mallocz(sizeof(AVABufferSinkParams)); av_mallocz 80 libavfilter/fifo.c fifo->last->next = av_mallocz(sizeof(Buf)); av_mallocz 117 libavfilter/filtfmts.c AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); av_mallocz 122 libavfilter/filtfmts.c AVFilterLink *link = av_mallocz(sizeof(AVFilterLink)); 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 283 libavfilter/formats.c formats = av_mallocz(sizeof(*formats)); \ av_mallocz 319 libavfilter/formats.c if (!(*f) && !(*f = av_mallocz(sizeof(**f)))) \ av_mallocz 392 libavfilter/formats.c AVFilterFormats *ret = av_mallocz(sizeof(*ret)); av_mallocz 398 libavfilter/formats.c AVFilterChannelLayouts *ret = av_mallocz(sizeof(*ret)); av_mallocz 407 libavfilter/formats.c AVFilterChannelLayouts *ret = av_mallocz(sizeof(*ret)); av_mallocz 181 libavfilter/graphparser.c return av_mallocz(sizeof(AVFilterInOut)); av_mallocz 241 libavfilter/graphparser.c } else if (!(p = av_mallocz(sizeof(*p)))) av_mallocz 266 libavfilter/graphparser.c AVFilterInOut *currlinkn = av_mallocz(sizeof(AVFilterInOut)); av_mallocz 297 libavfilter/graphparser.c if (!(match = av_mallocz(sizeof(AVFilterInOut)))) { av_mallocz 380 libavfilter/graphparser.c if (!(graph->scale_sws_opts = av_mallocz(p - *buf + 1))) av_mallocz 214 libavfilter/pthread.c graph->internal->thread = av_mallocz(sizeof(ThreadContext)); av_mallocz 47 libavfilter/unsharp_opencl.c temp1_counter = av_mallocz(counter_size); av_mallocz 52 libavfilter/unsharp_opencl.c temp2_counter = av_mallocz(counter_size); av_mallocz 63 libavfilter/unsharp_opencl.c counter[i] = av_mallocz(counter_size); av_mallocz 138 libavfilter/vf_curves.c struct keypoint *point = av_mallocz(sizeof(*point)); av_mallocz 307 libavfilter/vf_drawtext.c glyph = av_mallocz(sizeof(*glyph)); av_mallocz 346 libavfilter/vf_libopencv.c if (!(s->priv = av_mallocz(entry->priv_size))) av_mallocz 150 libavfilter/vf_pullup.c f = head = av_mallocz(sizeof(*head)); av_mallocz 160 libavfilter/vf_pullup.c f->next = av_mallocz(sizeof(*f->next)); av_mallocz 568 libavfilter/vf_pullup.c PullupField *f = av_mallocz(sizeof(*f)); av_mallocz 303 libavfilter/vf_removelogo.c if (!(s->half_mask_data = av_mallocz(w/2 * h/2))) av_mallocz 67 libavfilter/video.c AVFilterBuffer *pic = av_mallocz(sizeof(AVFilterBuffer)); av_mallocz 68 libavfilter/video.c AVFilterBufferRef *picref = av_mallocz(sizeof(AVFilterBufferRef)); av_mallocz 75 libavfilter/video.c if (!(picref->video = av_mallocz(sizeof(AVFilterBufferRefVideoProps)))) av_mallocz 72 libavfilter/vidstabutils.c vs_zalloc = av_mallocz; av_mallocz 114 libavformat/4xm.c st->codec->extradata = av_mallocz(4 + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 231 libavformat/aiffenc.c pict_list = av_mallocz(sizeof(AVPacketList)); av_mallocz 136 libavformat/anm.c st->codec->extradata = av_mallocz(st->codec->extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 285 libavformat/ape.c ape->seektable = av_mallocz(ape->seektablelength); av_mallocz 291 libavformat/ape.c ape->bittable = av_mallocz(ape->totalframes); av_mallocz 476 libavformat/asfdec.c st->codec->extradata = av_mallocz(st->codec->extradata_size + av_mallocz 152 libavformat/assenc.c DialogueLine *dialogue = av_mallocz(sizeof(*dialogue)); av_mallocz 183 libavformat/avc.c out = av_mallocz(out_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 574 libavformat/avidec.c ast = av_mallocz(sizeof(AVIStream)); av_mallocz 1042 libavformat/avidec.c pd = (AVProbeData) { .buf = av_mallocz(size + AVPROBE_PADDING_SIZE), av_mallocz 177 libavformat/avienc.c s->streams[n]->priv_data = av_mallocz(sizeof(AVIStream)); av_mallocz 129 libavformat/avio.c uc = av_mallocz(sizeof(URLContext) + strlen(filename) + 1); av_mallocz 142 libavformat/avio.c uc->priv_data = av_mallocz(up->priv_data_size); av_mallocz 120 libavformat/aviobuf.c AVIOContext *s = av_mallocz(sizeof(AVIOContext)); av_mallocz 1080 libavformat/aviobuf.c d = av_mallocz(sizeof(DynBuffer) + io_buffer_size); av_mallocz 165 libavformat/brstm.c b->table = av_mallocz(32 * st->codec->channels); av_mallocz 206 libavformat/brstm.c b->adpc = av_mallocz(asize); av_mallocz 567 libavformat/dashenc.c c->streams = av_mallocz(sizeof(*c->streams) * s->nb_streams); av_mallocz 690 libavformat/dashenc.c seg = av_mallocz(sizeof(*seg)); av_mallocz 101 libavformat/dss.c value = av_mallocz(size + 1); av_mallocz 432 libavformat/dump.c uint8_t *printed = ic->nb_streams ? av_mallocz(ic->nb_streams) : NULL; av_mallocz 332 libavformat/dv.c c = av_mallocz(sizeof(DVDemuxContext)); av_mallocz 471 libavformat/dv.c uint8_t *partial_frame = av_mallocz(sizeof(*partial_frame) * av_mallocz 61 libavformat/flacdec.c buffer = av_mallocz(metadata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 345 libavformat/flvdec.c if (!(*current_array = av_mallocz(sizeof(**current_array) * arraylen))) { av_mallocz 646 libavformat/flvdec.c flv->new_extradata[stream] = av_mallocz(size + av_mallocz 413 libavformat/flvenc.c sc = av_mallocz(sizeof(FLVStreamContext)); av_mallocz 722 libavformat/gxfenc.c GXFStreamContext *sc = av_mallocz(sizeof(*sc)); av_mallocz 452 libavformat/hdsenc.c frag = av_mallocz(sizeof(*frag)); av_mallocz 265 libavformat/hls.c struct playlist *pls = av_mallocz(sizeof(struct playlist)); av_mallocz 297 libavformat/hls.c var = av_mallocz(sizeof(struct variant)); av_mallocz 395 libavformat/hls.c rend = av_mallocz(sizeof(struct rendition)); av_mallocz 116 libavformat/hnm.c vst->codec->extradata = av_mallocz(1); av_mallocz 417 libavformat/id3v2.c geob_data = av_mallocz(sizeof(ID3v2ExtraMetaGEOB)); av_mallocz 424 libavformat/id3v2.c new_extra = av_mallocz(sizeof(ID3v2ExtraMeta)); av_mallocz 553 libavformat/id3v2.c new_extra = av_mallocz(sizeof(*new_extra)); av_mallocz 554 libavformat/id3v2.c apic = av_mallocz(sizeof(*apic)); av_mallocz 689 libavformat/id3v2.c meta = av_mallocz(sizeof(*meta)); av_mallocz 690 libavformat/id3v2.c priv = av_mallocz(sizeof(*priv)); av_mallocz 1826 libavformat/matroskadec.c extradata = av_mallocz(5 + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 1844 libavformat/matroskadec.c extradata = av_mallocz(extradata_size + av_mallocz 1855 libavformat/matroskadec.c extradata = av_mallocz(extradata_size + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2242 libavformat/matroskadec.c *lace_buf = av_mallocz(sizeof(int)); av_mallocz 2254 libavformat/matroskadec.c lace_size = av_mallocz(*laces * sizeof(int)); av_mallocz 2395 libavformat/matroskadec.c AVPacket *pkt = av_mallocz(sizeof(AVPacket)); av_mallocz 2563 libavformat/matroskadec.c pkt = av_mallocz(sizeof(*pkt)); av_mallocz 2650 libavformat/matroskadec.c pkt = av_mallocz(sizeof(AVPacket)); av_mallocz 314 libavformat/matroskaenc.c mkv_seekhead *new_seekhead = av_mallocz(sizeof(mkv_seekhead)); av_mallocz 406 libavformat/matroskaenc.c mkv_cues *cues = av_mallocz(sizeof(mkv_cues)); av_mallocz 166 libavformat/mmsh.c mms->asf_header = av_mallocz(len); av_mallocz 266 libavformat/mmsh.c stream_selection = av_mallocz(mms->stream_num * 19 + 1); av_mallocz 372 libavformat/mmsh.c MMSHContext *mmsh = av_mallocz(sizeof(*mmsh)); av_mallocz 185 libavformat/mov.c sc = av_mallocz(sizeof(*sc)); av_mallocz 385 libavformat/mov.c str = av_mallocz(str_size_alloc); av_mallocz 468 libavformat/mov.c sc->drefs = av_mallocz(entries * sizeof(*sc->drefs)); av_mallocz 526 libavformat/mov.c dref->path = av_mallocz(len+1); av_mallocz 1720 libavformat/mov.c st->codec->extradata = av_mallocz(strlen(buf) + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 2670 libavformat/mov.c sc = av_mallocz(sizeof(MOVStreamContext)); av_mallocz 3395 libavformat/mov.c buffer = av_mallocz(len + 1); av_mallocz 3765 libavformat/mov.c if (!(title = av_mallocz(title_len))) av_mallocz 3935 libavformat/mov.c index = av_mallocz(sizeof(MOVFragmentIndex)); av_mallocz 337 libavformat/movenc.c if (!track->eac3_priv && !(track->eac3_priv = av_mallocz(sizeof(*info)))) av_mallocz 735 libavformat/movenc.c unescaped = av_mallocz(track->vos_len + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 508 libavformat/mp3enc.c AVPacketList *pktl = av_mallocz(sizeof(*pktl)); av_mallocz 342 libavformat/mpegenc.c stream = av_mallocz(sizeof(StreamInfo)); av_mallocz 1141 libavformat/mpegenc.c pkt_desc = av_mallocz(sizeof(PacketDesc)); av_mallocz 442 libavformat/mpegts.c filter = av_mallocz(sizeof(MpegTSFilter)); av_mallocz 1199 libavformat/mpegts.c pes = av_mallocz(sizeof(PESContext)); av_mallocz 1756 libavformat/mpegts.c st->codec->extradata = av_mallocz(sizeof(opus_default_extradata) + av_mallocz 2721 libavformat/mpegts.c ts = av_mallocz(sizeof(MpegTSContext)); av_mallocz 557 libavformat/mpegtsenc.c service = av_mallocz(sizeof(MpegTSService)); av_mallocz 663 libavformat/mpegtsenc.c ts_st = av_mallocz(sizeof(MpegTSWriteStream)); av_mallocz 673 libavformat/mpegtsenc.c ts_st->payload = av_mallocz(ts->pes_payload_size); av_mallocz 149 libavformat/mux.c s->priv_data = av_mallocz(s->oformat->priv_data_size); av_mallocz 331 libavformat/mux.c s->priv_data = av_mallocz(of->priv_data_size); av_mallocz 671 libavformat/mux.c this_pktl = av_mallocz(sizeof(AVPacketList)); av_mallocz 1470 libavformat/mxfdec.c p = *str = av_mallocz(sizeof(UID) * 2 + 4 + 1); av_mallocz 1488 libavformat/mxfdec.c p = *str = av_mallocz(sizeof(UID) * 4 + 2 + 1); av_mallocz 2040 libavformat/mxfdec.c *str = av_mallocz(32); av_mallocz 2175 libavformat/mxfdec.c MXFMetadataSet *ctx = ctx_size ? av_mallocz(ctx_size) : mxf; av_mallocz 2494 libavformat/mxfdec.c if (!(segment = av_mallocz(sizeof(*segment)))) av_mallocz 1842 libavformat/mxfenc.c MXFStreamContext *sc = av_mallocz(sizeof(*sc)); av_mallocz 1961 libavformat/mxfenc.c mxf->timecode_track = av_mallocz(sizeof(*mxf->timecode_track)); av_mallocz 1964 libavformat/mxfenc.c mxf->timecode_track->priv_data = av_mallocz(sizeof(MXFStreamContext)); av_mallocz 313 libavformat/nsvdec.c p = strings = av_mallocz((size_t)strings_size + 1); av_mallocz 433 libavformat/nsvdec.c nst = av_mallocz(sizeof(NSVStream)); av_mallocz 464 libavformat/nsvdec.c nst = av_mallocz(sizeof(NSVStream)); av_mallocz 252 libavformat/nut.c Syncpoint *sp = av_mallocz(sizeof(Syncpoint)); av_mallocz 83 libavformat/oggdec.c os->buf = av_mallocz(os->bufsize + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 190 libavformat/oggenc.c OGGPageList *l = av_mallocz(sizeof(*l)); av_mallocz 295 libavformat/oggenc.c p = av_mallocz(size); av_mallocz 320 libavformat/oggenc.c oggstream->header[0] = av_mallocz(51); // per ogg flac specs av_mallocz 357 libavformat/oggenc.c p = av_mallocz(SPEEX_HEADER_SIZE); av_mallocz 386 libavformat/oggenc.c p = av_mallocz(avctx->extradata_size); av_mallocz 459 libavformat/oggenc.c oggstream = av_mallocz(sizeof(*oggstream)); av_mallocz 47 libavformat/oggparseopus.c priv = os->private = av_mallocz(sizeof(*priv)); av_mallocz 49 libavformat/oggparsespeex.c spxp = av_mallocz(sizeof(*spxp)); av_mallocz 52 libavformat/oggparsetheora.c thp = av_mallocz(sizeof(*thp)); av_mallocz 302 libavformat/oggparsevorbis.c os->private = av_mallocz(sizeof(struct oggvorbis_private)); av_mallocz 321 libavformat/oggparsevorbis.c priv->packet[pkt_type >> 1] = av_mallocz(os->psize); av_mallocz 114 libavformat/options.c ic->internal = av_mallocz(sizeof(*ic->internal)); av_mallocz 89 libavformat/os_support.c sin = av_mallocz(sizeof(struct sockaddr_in)); av_mallocz 119 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 + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 246 libavformat/riffdec.c value = av_mallocz(chunk_size + 1); av_mallocz 114 libavformat/rmdec.c RMStream *rms = av_mallocz(sizeof(RMStream)); av_mallocz 514 libavformat/rtpdec.c s = av_mallocz(sizeof(RTPDemuxContext)); av_mallocz 703 libavformat/rtpdec.c packet = av_mallocz(sizeof(*packet)); av_mallocz 105 libavformat/rtpdec_asf.c char *buf = av_mallocz(len); av_mallocz 100 libavformat/rtpdec_latm.c config = av_mallocz(len + FF_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 237 libavformat/rtpproto.c source_addr = av_mallocz(sizeof(struct sockaddr_storage)); av_mallocz 195 libavformat/rtsp.c rtsp_st->dynamic_protocol_context = av_mallocz(handler->priv_data_size); av_mallocz 430 libavformat/rtsp.c rtsp_st = av_mallocz(sizeof(RTSPStream)); av_mallocz 604 libavformat/rtsp.c rtsp_src = av_mallocz(sizeof(*rtsp_src)); av_mallocz 58 libavformat/rtspenc.c sdp = av_mallocz(SDP_MAX_SIZE); av_mallocz 93 libavformat/rtspenc.c rtsp_st = av_mallocz(sizeof(RTSPStream)); av_mallocz 192 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 203 libavformat/segment.c seg->cur_entry.filename = av_mallocz(size); av_mallocz 338 libavformat/segment.c SegmentListEntry *entry = av_mallocz(sizeof(*entry)); av_mallocz 157 libavformat/smoothstreamingenc.c os->private_str = av_mallocz(2*size + 1); av_mallocz 470 libavformat/smoothstreamingenc.c frag = av_mallocz(sizeof(*frag)); av_mallocz 363 libavformat/utils.c AVPacketList *pktl = av_mallocz(sizeof(AVPacketList)); av_mallocz 449 libavformat/utils.c if (!(s->priv_data = av_mallocz(s->iformat->priv_data_size))) { av_mallocz 2900 libavformat/utils.c st->info->duration_error = av_mallocz(sizeof(st->info->duration_error[0])*2); av_mallocz 3669 libavformat/utils.c st = av_mallocz(sizeof(AVStream)); av_mallocz 3672 libavformat/utils.c if (!(st->info = av_mallocz(sizeof(*st->info)))) { av_mallocz 3736 libavformat/utils.c program = av_mallocz(sizeof(AVProgram)); av_mallocz 3768 libavformat/utils.c chapter = av_mallocz(sizeof(AVChapter)); av_mallocz 725 libavformat/wavdec.c value = av_mallocz(chunk_size + 1); av_mallocz 164 libavformat/wtvdec.c wf = av_mallocz(sizeof(WtvFile)); av_mallocz 617 libavformat/wtvdec.c WtvStream *wst = av_mallocz(sizeof(WtvStream)); av_mallocz 108 libavformat/xwma.c st->codec->extradata = av_mallocz(6 + FF_INPUT_BUFFER_PADDING_SIZE); av_mallocz 269 libavresample/audio_convert.c ac = av_mallocz(sizeof(*ac)); av_mallocz 127 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 47 libavutil/aes.c return av_mallocz(sizeof(struct AVAES)); av_mallocz 70 libavutil/audio_fifo.c af = av_mallocz(sizeof(*af)); av_mallocz 35 libavutil/buffer.c buf = av_mallocz(sizeof(*buf)); av_mallocz 48 libavutil/buffer.c ref = av_mallocz(sizeof(*ref)); av_mallocz 94 libavutil/buffer.c AVBufferRef *ret = av_mallocz(sizeof(*ret)); av_mallocz 220 libavutil/buffer.c AVBufferPool *pool = av_mallocz(sizeof(*pool)); av_mallocz 334 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 77 libavutil/dict.c m = *pm = av_mallocz(sizeof(*m)); av_mallocz 111 libavutil/dict.c char *newval = av_mallocz(len); av_mallocz 324 libavutil/eval.c AVExpr *d = av_mallocz(sizeof(AVExpr)); av_mallocz 478 libavutil/eval.c AVExpr *e = av_mallocz(sizeof(AVExpr)); av_mallocz 696 libavutil/eval.c e->var= av_mallocz(sizeof(double) *VARS); av_mallocz 32 libavutil/fifo.c f = av_mallocz(sizeof(AVFifoBuffer)); av_mallocz 145 libavutil/float_dsp.c AVFloatDSPContext *ret = av_mallocz(sizeof(AVFloatDSPContext)); av_mallocz 137 libavutil/frame.c AVFrame *frame = av_mallocz(sizeof(*frame)); av_mallocz 579 libavutil/frame.c ret = av_mallocz(sizeof(*ret)); av_mallocz 109 libavutil/hash.c res = av_mallocz(sizeof(*res)); av_mallocz 63 libavutil/hmac.c AVHMAC *c = av_mallocz(sizeof(*c)); av_mallocz 140 libavutil/internal.h p = av_mallocz(size);\ av_mallocz 49 libavutil/md5.c return av_mallocz(sizeof(struct AVMD5)); av_mallocz 262 libavutil/mem.c return av_mallocz(nmemb * size); av_mallocz 505 libavutil/mem.c val = zero_realloc ? av_mallocz(min_size) : av_malloc(min_size); av_mallocz 205 libavutil/mem.h void *av_mallocz(size_t size) av_malloc_attrib av_alloc_size(1); av_mallocz 232 libavutil/mem.h return av_mallocz(nmemb * size); av_mallocz 34 libavutil/murmur3.c return av_mallocz(sizeof(AVMurMur3)); av_mallocz 165 libavutil/murmur3.c uint8_t *hashes = av_mallocz(256 * 16); av_mallocz 183 libavutil/murmur3.c uint8_t *in = av_mallocz(512*1024); av_mallocz 222 libavutil/opencl.c devices_num = av_mallocz(sizeof(int) * FF_ARRAY_ELEMS(device_type)); av_mallocz 228 libavutil/opencl.c device_list->platform_node[i] = av_mallocz(sizeof(AVOpenCLPlatformNode)); av_mallocz 265 libavutil/opencl.c device_list->platform_node[i]->device_node[device_num] = av_mallocz(sizeof(AVOpenCLDeviceNode)); av_mallocz 299 libavutil/opencl.c *device_list = av_mallocz(sizeof(AVOpenCLDeviceList)); av_mallocz 375 libavutil/opencl.c AVOpenCLExternalEnv *ext = av_mallocz(sizeof(AVOpenCLExternalEnv)); av_mallocz 1654 libavutil/opt.c AVOptionRanges *ranges = av_mallocz(sizeof(*ranges)); av_mallocz 1655 libavutil/opt.c AVOptionRange **range_array = av_mallocz(sizeof(void*)); av_mallocz 1656 libavutil/opt.c AVOptionRange *range = av_mallocz(sizeof(*range)); av_mallocz 43 libavutil/pca.c pca= av_mallocz(sizeof(*pca)); av_mallocz 46 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 29 libavutil/stereo3d.c return av_mallocz(sizeof(AVStereo3D)); av_mallocz 58 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 881 libpostproc/postprocess.c *p= av_mallocz(size); av_mallocz 918 libpostproc/postprocess.c PPContext *c= av_mallocz(sizeof(PPContext)); av_mallocz 133 libswresample/audioconvert.c ctx = av_mallocz(sizeof(*ctx)); av_mallocz 149 libswresample/options.c SwrContext *s= av_mallocz(sizeof(SwrContext)); av_mallocz 366 libswresample/rematrix.c s->native_one = av_mallocz(sizeof(int)); av_mallocz 376 libswresample/rematrix.c s->native_one = av_mallocz(sizeof(float)); av_mallocz 386 libswresample/rematrix.c s->native_one = av_mallocz(sizeof(double)); av_mallocz 397 libswresample/rematrix.c s->native_one = av_mallocz(sizeof(int)); av_mallocz 185 libswresample/resample.c c = av_mallocz(sizeof(*c)); av_mallocz 355 libswresample/swresample.c a->data= av_mallocz(countb*a->ch_count); 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 113 libswscale/swscale-test.c src[p] = av_mallocz(srcStride[p] * srcH + 16); av_mallocz 147 libswscale/swscale-test.c dst[i] = av_mallocz(dstStride[i] * dstH + 16); av_mallocz 186 libswscale/swscale-test.c out[i] = av_mallocz(refStride[i] * h); av_mallocz 951 libswscale/utils.c SwsContext *c = av_mallocz(sizeof(SwsContext)); av_mallocz 115 tools/graph2dot.c AVFilterGraph *graph = av_mallocz(sizeof(AVFilterGraph)); av_mallocz 453 tools/ismindex.c track->codec_private = av_mallocz(codec->extradata_size); av_mallocz 530 tools/ismindex.c track = av_mallocz(sizeof(*track)); av_mallocz 154 tools/sidxindex.c track = av_mallocz(sizeof(*track));