ref: 71a9a855e81f4ef0698eabcdb4cbc7382feea5b3
parent: 47d73971bb09ec0a6073626c181d8fb095038179
author: cbagwell <cbagwell>
date: Wed Sep 29 22:26:14 EDT 2004
backing out g++ cast fix that doesn't work in c.
--- a/src/mp3.c
+++ b/src/mp3.c
@@ -144,7 +144,7 @@
}
mad_stream_buffer(p->Stream,p->InputBuffer,ReadSize);
- p->Stream->error = (mad_error)0;
+ p->Stream->error = 0;
while(mad_frame_decode(p->Frame,p->Stream)) {
int tagsize;
@@ -265,7 +265,7 @@
}
mad_stream_buffer(p->Stream,p->InputBuffer,ReadSize+Remaining);
- p->Stream->error = (mad_error)0;
+ p->Stream->error = 0;
}
if(mad_frame_decode(p->Frame,p->Stream)){