+ /* check compression type for AIFF-C */
+ if(is_aifc) {
+ if(!read_big_endian_uint32(infile, &xx, false, encoder_session.inbasefilename))
+ return EncoderSession_finish_error(&encoder_session);
+ if(xx == 0x736F7774) /* "sowt" */
+ is_big_endian_pcm = false;
+ else if(xx == 0x4E4F4E45) /* "NONE" */
+ ; /* nothing to do, we already default to big-endian */
+ else {
+ flac__utils_printf(stderr, 1, "%s: ERROR: can't handle AIFF-C compression type \"%c%c%c%c\"\n", encoder_session.inbasefilename, (char)(xx>>24), (char)((xx>>16)&8), (char)((xx>>8)&8), (char)(xx&8));
+ return EncoderSession_finish_error(&encoder_session);
+ }
+ }
+