fixed: coding_FFmeg is conditionally defined

This commit is contained in:
Arne Morten Kvarving 2016-07-31 14:54:57 +02:00
parent e3666934c1
commit e6a8e8890d

View File

@ -313,7 +313,11 @@ VGMSTREAM * init_vgmstream_sqex_scd(STREAMFILE *streamFile) {
vgmstream->meta_type = meta_SQEX_SCD;
/* open the file for reading */
if (vgmstream->layout_type != layout_scd_int && vgmstream->coding_type != coding_FFmpeg)
if (vgmstream->layout_type != layout_scd_int
#ifdef VGM_USE_FFMPEG
&& vgmstream->coding_type != coding_FFmpeg
#endif
)
{
int i;
STREAMFILE * file;