Permalink
Browse files

Revert "swr: zero buffers on allocation"

Skipping in a file with -ss while resampling became unbearably slow.

This reverts commit 75d900d.
  • Loading branch information...
1 parent 898d8f2 commit 5a0d6cbc447a46c4080a0d69099b2ddf116359a5 @eelco eelco committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libswresample/swresample.c
@@ -370,7 +370,7 @@ static int realloc_audio(AudioData *a, int count){
av_assert0(a->bps);
av_assert0(a->ch_count);
- a->data= av_mallocz(countb*a->ch_count);
+ a->data= av_malloc(countb*a->ch_count);
if(!a->data)
return AVERROR(ENOMEM);
for(i=0; i<a->ch_count; i++){

0 comments on commit 5a0d6cb

Please sign in to comment.