diff --git a/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.cpp b/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.cpp index aac2633c75..9fb45ad228 100644 --- a/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.cpp +++ b/modules/juce_audio_formats/codecs/juce_AiffAudioFormat.cpp @@ -341,10 +341,10 @@ namespace AiffFileHelpers out.writeByte ((char) labelLength + 1); out.write (label.toUTF8(), labelLength); out.writeByte (0); - } - if ((out.getDataSize() & 1) != 0) - out.writeByte (0); + if ((out.getDataSize() & 1) != 0) + out.writeByte (0); + } } } }