projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a18b2ee
)
fix bug with asserts
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 24 Jan 2001 23:35:48 +0000
(23:35 +0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 24 Jan 2001 23:35:48 +0000
(23:35 +0000)
src/flac/decode.c
patch
|
blob
|
history
diff --git
a/src/flac/decode.c
b/src/flac/decode.c
index
a0248a9
..
260889a
100644
(file)
--- a/
src/flac/decode.c
+++ b/
src/flac/decode.c
@@
-73,7
+73,7
@@
int decode_wav(const char *infile, const char *outfile, bool analysis_mode, bool
stream_info.samples_processed = 0;
stream_info.frame_counter = 0;
- assert(!(
test_only &&
analysis_mode));
+ assert(!(
stream_info.test_only && stream_info.
analysis_mode));
if(!stream_info.test_only) {
if(0 == strcmp(outfile, "-")) {
@@
-173,7
+173,7
@@
int decode_raw(const char *infile, const char *outfile, bool analysis_mode, bool
stream_info.samples_processed = 0;
stream_info.frame_counter = 0;
- assert(!(
test_only &&
analysis_mode));
+ assert(!(
stream_info.test_only && stream_info.
analysis_mode));
if(!stream_info.test_only) {
if(0 == strcmp(outfile, "-")) {