diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-12-22 18:39:37 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-12-22 18:39:37 +0000 |
commit | 513b9fc615de45378ec2f9403106767204ae3a45 (patch) | |
tree | f6010d01ec97441ab3bdd213f34bd537615cd0e1 /mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp | |
parent | 4b14d84ad012a23f769ce7c030ee8ab2c389108d (diff) | |
download | usdx-513b9fc615de45378ec2f9403106767204ae3a45.tar.gz usdx-513b9fc615de45378ec2f9403106767204ae3a45.tar.xz usdx-513b9fc615de45378ec2f9403106767204ae3a45.zip |
replace asf... by AUDIO_SAMPLE_FORMAT_... constants
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2769 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp')
-rw-r--r-- | mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp b/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp index da49891c..ce15f7a7 100644 --- a/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp +++ b/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp @@ -179,7 +179,7 @@ bool FFmpegAudioDecodeStream::_open(const IPath &filename) { audioSampleFormat_t sampleFormat; if (!ffmpegCore->convertFFmpegToAudioFormat(_codecCtx->sample_fmt, &sampleFormat)) { // try standard format - sampleFormat = asfS16; + sampleFormat = AUDIO_SAMPLE_FORMAT_S16; } if (_codecCtx->channels > 255) { logger.status("Error: _codecCtx->channels > 255", "TFFmpegDecodeStream.Open"); |