Jumping to the success label sets ret to consumed. ret is not used if
there are samples available, so this is safe.
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++) {