Mercurial > audlegacy-plugins
diff src/demac/ape.c @ 3024:965c0df4ae84
Patch from John Lindgren to skip corrupted frames, from Debian bug #514674.
author | Tony Vroon <chainsaw@gentoo.org> |
---|---|
date | Thu, 09 Apr 2009 23:58:13 +0100 |
parents | 3134a0987162 |
children |
line wrap: on
line diff
--- a/src/demac/ape.c Thu Apr 09 23:36:49 2009 +0100 +++ b/src/demac/ape.c Thu Apr 09 23:58:13 2009 +0100 @@ -357,8 +357,8 @@ ret = aud_vfs_fread(pkt + extra_size, 1, ape->frames[ape->currentframe].size, pb); + *pkt_size = ape->frames[ape->currentframe].size + extra_size; ape->currentframe++; - *pkt_size = ape->frames[ape->currentframe].size + extra_size; return 0; }