Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
ae34d072f2
2 changed files with 4 additions and 6 deletions
  1. +1
    -1
      src/juce_appframework/audio/audio_file_formats/oggvorbis/ogg.h
  2. +3
    -5
      src/juce_appframework/gui/components/special/juce_QuickTimeMovieComponent.cpp

+ 1
- 1
src/juce_appframework/audio/audio_file_formats/oggvorbis/ogg.h View File

@@ -42,7 +42,7 @@ typedef struct {
} ogg_page;
static ogg_uint32_t bitreverse(ogg_uint32_t x){
ogg_uint32_t bitreverse(ogg_uint32_t x){
x= ((x>>16)&0x0000ffffUL) | ((x<<16)&0xffff0000UL);
x= ((x>> 8)&0x00ff00ffUL) | ((x<< 8)&0xff00ff00UL);
x= ((x>> 4)&0x0f0f0f0fUL) | ((x<< 4)&0xf0f0f0f0UL);


+ 3
- 5
src/juce_appframework/gui/components/special/juce_QuickTimeMovieComponent.cpp View File

@@ -913,11 +913,9 @@ static Handle createHandleDataRef (Handle dataHandle, const char* fileName)
if (err == noErr)
{
Str255 suffix;
#if JUCE_WIN32
strcpy_s ((char*) suffix, 128, fileName);
#else
strcpy ((char*) suffix, fileName);
#endif
CharacterFunctions::copy ((char*) suffix, fileName, 128);
StringPtr name = suffix;
err = PtrAndHand (name, dataRef, name[0] + 1);


Loading…
Cancel
Save