I encountered what I think is a bug in labFLAC_static release that's
driving me nuts.

I compile the FLAC libraries in debug mode on ARMV4 (ported) and it
works fine
I compile the FLAC libraries in release mode on ARMV4 (ported) and no
FLAC files play

>From what I can see, in metadata_callback, I get different values for
channel and bitsperssample

metadata->data.stream_info.bits_per_sample is 16 in debug mode, 1072 in
release mode
metadata->data.stream_info.channels is 2 in debug mode, 34 in release
mode

I'm using FLAC CVS, but reproduced this in FLAC 1.1 and FLAC 1.2
I also tried several different .flac files

For the port, I don't really touch much of the FLAC code so I don't
think the porting caused this bug.

If I compile my release code with the debug FLAC static libraries, it
works fine.

I dug around the FLAC code for a bit and it's pretty hard to me to
figure out.

Any pointers or thoughts on this?

Thanks

_______________________________________________
Flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to