mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-07 15:22:34 +02:00
Workaround for FLAC__MAX_METADATA_TYPE not defined.
This commit is contained in:
parent
7b6b6ef037
commit
748e718395
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user