diff options
Diffstat (limited to 'graphics/video')
-rw-r--r-- | graphics/video/avi_player.cpp | 2 | ||||
-rw-r--r-- | graphics/video/avi_player.h | 28 |
2 files changed, 15 insertions, 15 deletions
diff --git a/graphics/video/avi_player.cpp b/graphics/video/avi_player.cpp index 2cae3904c9..3385aa6149 100644 --- a/graphics/video/avi_player.cpp +++ b/graphics/video/avi_player.cpp @@ -359,7 +359,7 @@ Codec *AVIPlayer::createCodec() { } Audio::AppendableAudioStream *AVIPlayer::createAudioStream() { - if (_wvInfo.tag == WAVE_FORMAT_PCM) + if (_wvInfo.tag == AVI_WAVE_FORMAT_PCM) return Audio::makeAppendableAudioStream(AUDIO_RATE, Audio::Mixer::FLAG_UNSIGNED|Audio::Mixer::FLAG_AUTOFREE); if (_wvInfo.tag != 0) // No sound diff --git a/graphics/video/avi_player.h b/graphics/video/avi_player.h index ba96ce8ef5..25643adc14 100644 --- a/graphics/video/avi_player.h +++ b/graphics/video/avi_player.h @@ -116,20 +116,20 @@ enum IndexFlags { }; enum WaveFormats { - WAVE_INVALIDFORMAT = 0, - WAVE_FORMAT_PCM = 1, - WAVE_FORMAT_1M08 = 1, - WAVE_FORMAT_1S08 = 2, - WAVE_FORMAT_1M16 = 4, - WAVE_FORMAT_1S16 = 8, - WAVE_FORMAT_2M08 = 16, - WAVE_FORMAT_2S08 = 32, - WAVE_FORMAT_2M16 = 64, - WAVE_FORMAT_2S16 = 128, - WAVE_FORMAT_4M08 = 256, - WAVE_FORMAT_4S08 = 512, - WAVE_FORMAT_4M16 = 1024, - WAVE_FORMAT_4S16 = 2048 + AVI_WAVE_INVALIDFORMAT = 0, + AVI_WAVE_FORMAT_PCM = 1, + AVI_WAVE_FORMAT_1M08 = 1, + AVI_WAVE_FORMAT_1S08 = 2, + AVI_WAVE_FORMAT_1M16 = 4, + AVI_WAVE_FORMAT_1S16 = 8, + AVI_WAVE_FORMAT_2M08 = 16, + AVI_WAVE_FORMAT_2S08 = 32, + AVI_WAVE_FORMAT_2M16 = 64, + AVI_WAVE_FORMAT_2S16 = 128, + AVI_WAVE_FORMAT_4M08 = 256, + AVI_WAVE_FORMAT_4S08 = 512, + AVI_WAVE_FORMAT_4M16 = 1024, + AVI_WAVE_FORMAT_4S16 = 2048 }; struct AVIHeader { |