diff options
author | 2009-11-12 22:11:00 +0100 | |
---|---|---|
committer | 2009-11-12 22:11:00 +0100 | |
commit | fb516ecd16fe658bc70f9fb92994a2dbe7024231 (patch) | |
tree | 087e76dd66ddecaa223e66880fe9578109e4c7bb /plugins | |
parent | 1574e8b812a6f067d95fa876ac567215965aa5ab (diff) |
fixed regression in flac plugin
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/flac/flac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c index 776e3e95..11f8cfe3 100644 --- a/plugins/flac/flac.c +++ b/plugins/flac/flac.c @@ -191,6 +191,7 @@ cflac_init (DB_playItem_t *it) { plugin.free (); return -1; } + buffer = malloc (BUFFERSIZE); if (it->endsample > 0) { startsample = it->startsample; endsample = it->endsample; @@ -208,7 +209,6 @@ cflac_init (DB_playItem_t *it) { } remaining = 0; - buffer = malloc (BUFFERSIZE); return 0; } |