SliceThreadContext*p=avctx->internal->thread_ctx; 268268 p->thread_count=avctx->thread_count; 269- p->entries=av_mallocz(count*sizeof(int)); 269+ p->entries=av_mallocz_array(count,sizeof(int)); 270270 271271 if(!p->entries) { ...
Unofficial FFmpeg with added custom native Visual Studio project build tools. FFmpeg: A complete, cross-platform solution to record, convert and stream audio and video. - avcodec/pthread_frame: Use av_mallocz_array() · wwwxxxwwwwxxxx/FFmpeg@ab1e191
Unofficial FFmpeg with added custom native Visual Studio project build tools. FFmpeg: A complete, cross-platform solution to record, convert and stream audio and video. - png: use av_mallocz_array() for the zlib zalloc function · wwwxxxwwwwxxxx/FFmpeg@4
codebook_setup->codevectors=used_entries?av_mallocz_array(used_entries, 382382 codebook_setup->dimensions* 383383 sizeof(*codebook_setup->codevectors)) 384384 :NULL; @@ -561,7 +561,7 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc) ...
Unofficial FFmpeg with added custom native Visual Studio project build tools. FFmpeg: A complete, cross-platform solution to record, convert and stream audio and video. - avcodec/roqvideoenc: use av_malloc(z)_array() · wwwxxxwwwwxxxx/FFmpeg@9b888fb
s->decode_buffer=av_mallocz(sizeof(int32_t)*s->frame_length*s->channels); 107+ s->decode_buffer=av_mallocz_array(sizeof(int32_t)*s->frame_length,s->channels); 108108 if(!s->decode_buffer) 109109 returnAVERROR(ENOMEM);
p->lpc_coef=av_mallocz_array(p->order,sizeof(*p->lpc_coef)); 65+ p->filter_out=av_mallocz_array(avctx->frame_size+p->order, 6666 sizeof(*p->filter_out)); 67- p->excitation=av_mallocz(avctx->frame_size*sizeof(*p->excitation)); ...
tile->comp=av_mallocz(s->ncomponents*sizeof(Jpeg2000Component)); tile->comp=av_mallocz_array(s->ncomponents,sizeof(Jpeg2000Component)); if(!tile->comp) returnAVERROR(ENOMEM); for(compno=0;compnoncomponents;compno++){ Expand Down...
if(!(x4->pts_buffer=av_mallocz_array((avctx->max_b_frames+1),sizeof(*x4->pts_buffer))) 357357 returnAVERROR(ENOMEM); 358358 359359 avctx->coded_frame=av_frame_alloc(); 0commit comments Comments 0(0) Pleasesign into comment.
Unofficial FFmpeg with added custom native Visual Studio project build tools. FFmpeg: A complete, cross-platform solution to record, convert and stream audio and video. - avcodec/qtrleenc: use av_mallocz_array() · wwwxxxwwwwxxxx/FFmpeg@60c8c71