X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=aacdec_filter.c;fp=aacdec_filter.c;h=121aa262f71d51bcbf6c1ddbc4328adc4d3e9b62;hb=3cb003cf915d9042f8d84a523b6f3b79a5703aa6;hp=a5355d10cf12604440523387bc5168c8c0a76276;hpb=f0216df3e7417a70b08c3c470db3248ed058f710;p=paraslash.git diff --git a/aacdec_filter.c b/aacdec_filter.c index a5355d10..121aa262 100644 --- a/aacdec_filter.c +++ b/aacdec_filter.c @@ -153,9 +153,8 @@ next_buffer: padd->error_count = 0; //PARA_CRIT_LOG("decoder ate %lu\n", padd->frame_info.bytesconsumed); consumed += padd->frame_info.bytesconsumed; - ret = consumed; if (!padd->frame_info.samples) - goto out; + goto success; btr_buf = para_malloc(2 * padd->frame_info.samples); loaded = 0; for (i = 0; i < padd->frame_info.samples; i++) {