summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
04c1638)
The function already defines a shortcut for the pointer to the audio
format handler, so use it.
if (ret < 0)
return ret;
}
if (ret < 0)
return ret;
}
- ret = afl[audio_format_id].get_chunk(chunk_num, *afh_context,
+ ret = afh->get_chunk(chunk_num, *afh_context,
buf, len);
if (ret < 0) {
afh->close(*afh_context);
buf, len);
if (ret < 0) {
afh->close(*afh_context);