mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-10 08:33:36 +02:00
Workaround for FLAC__MAX_METADATA_TYPE not defined.
This commit is contained in:
@@ -222,7 +222,8 @@ void MyFLACFile::metadata_callback(const FLAC__StreamMetadata *metadata)
|
||||
case FLAC__METADATA_TYPE_PICTURE: // ignore pictures
|
||||
case FLAC__METADATA_TYPE_UNDEFINED: // do nothing with this either
|
||||
|
||||
case FLAC__MAX_METADATA_TYPE: // quiet compiler warning with this line
|
||||
// FIXME: not declared when compiling on Ubuntu.
|
||||
//case FLAC__MAX_METADATA_TYPE: // quiet compiler warning with this line
|
||||
|
||||
break;
|
||||
}
|
||||
|
@@ -81,7 +81,8 @@ void ODFLACFile::metadata_callback(const FLAC__StreamMetadata *metadata)
|
||||
case FLAC__METADATA_TYPE_PICTURE: // ignore pictures
|
||||
case FLAC__METADATA_TYPE_UNDEFINED: // do nothing with this either
|
||||
|
||||
case FLAC__MAX_METADATA_TYPE: // quiet compiler warning with this line
|
||||
// FIXME: not declared when compiling on Ubuntu.
|
||||
//case FLAC__MAX_METADATA_TYPE: // quiet compiler warning with this line
|
||||
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user