projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vss: Add documentation of MAP_POPULATE.
[paraslash.git]
/
flac_afh.c
diff --git
a/flac_afh.c
b/flac_afh.c
index 2e2842b183c91bfbe06ec2de0616fb52872ba4f4..45373ea1993d743ed56ded45444b3d8bb72fc751 100644
(file)
--- a/
flac_afh.c
+++ b/
flac_afh.c
@@
-1,8
+1,4
@@
-/*
- * Copyright (C) 2011 Andre Noll <maan@tuebingen.mpg.de>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* Copyright (C) 2011 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
/** \file flac_afh.c Audio format handler for flac files. */
/** \file flac_afh.c Audio format handler for flac files. */
@@
-391,6
+387,7
@@
static int flac_afh_read_chunks(struct private_flac_afh_data *pfad)
break;
}
afhi->chunks_total = c;
break;
}
afhi->chunks_total = c;
+ set_max_chunk_size(afhi);
ret = 1;
free_decoder:
FLAC__stream_decoder_finish(decoder);
ret = 1;
free_decoder:
FLAC__stream_decoder_finish(decoder);
@@
-468,7
+465,7
@@
static int flac_write_chain(FLAC__Metadata_Chain *chain,
if (!ok) {
FLAC__Metadata_ChainStatus st;
st = FLAC__metadata_chain_status(chain);
if (!ok) {
FLAC__Metadata_ChainStatus st;
st = FLAC__metadata_chain_status(chain);
- PARA_ERROR_LOG("chain status: %
d
\n", st);
+ PARA_ERROR_LOG("chain status: %
u
\n", st);
if (st == FLAC__METADATA_CHAIN_STATUS_READ_ERROR)
PARA_ERROR_LOG("read error\n");
return -E_FLAC_WRITE_CHAIN;
if (st == FLAC__METADATA_CHAIN_STATUS_READ_ERROR)
PARA_ERROR_LOG("read error\n");
return -E_FLAC_WRITE_CHAIN;