Fix RIFF #ifdef VGM_USE_MAIATRAC3PLUS failing when set

This commit is contained in:
bnnm 2019-03-09 21:32:51 +01:00
parent 2dc5ddc59e
commit c114dc3ba1

View File

@ -233,6 +233,7 @@ static int read_fmt(int big_endian, STREAMFILE * streamFile, off_t current_chunk
bztmp = (bztmp >> 8) | (bztmp << 8); bztmp = (bztmp >> 8) | (bztmp << 8);
fmt->coding_type = coding_AT3plus; fmt->coding_type = coding_AT3plus;
fmt->block_size = (bztmp & 0x3FF) * 8 + 8; /* should match fmt->block_size */ fmt->block_size = (bztmp & 0x3FF) * 8 + 8; /* should match fmt->block_size */
break;
#elif defined(VGM_USE_FFMPEG) #elif defined(VGM_USE_FFMPEG)
fmt->coding_type = coding_FFmpeg; fmt->coding_type = coding_FFmpeg;
break; break;