You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avfilter/af_stereowiden: fix 2nd argument for av_calloc
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
		| @@ -73,7 +73,7 @@ static int config_input(AVFilterLink *inlink) | ||||
|     StereoWidenContext *s = ctx->priv; | ||||
|  | ||||
|     s->length = 2 * s->delay * inlink->sample_rate / 1000; | ||||
|     s->buffer = av_calloc(s->length, sizeof(s->buffer)); | ||||
|     s->buffer = av_calloc(s->length, sizeof(*s->buffer)); | ||||
|     if (!s->buffer) | ||||
|         return AVERROR(ENOMEM); | ||||
|     s->write = s->buffer; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user