aboutsummaryrefslogtreecommitdiffstats
path: root/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_convert.h
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-12-22 18:39:37 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-12-22 18:39:37 +0000
commit513b9fc615de45378ec2f9403106767204ae3a45 (patch)
treef6010d01ec97441ab3bdd213f34bd537615cd0e1 /mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_convert.h
parent4b14d84ad012a23f769ce7c030ee8ab2c389108d (diff)
downloadusdx-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 '')
-rw-r--r--mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_convert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_convert.h b/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_convert.h
index ee4c5a81..fbb5bedc 100644
--- a/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_convert.h
+++ b/mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_convert.h
@@ -47,7 +47,7 @@ protected:
bool init() {
// Note: FFmpeg does not support resampling for more than 2 input channels
- if (_srcFormatInfo.getFormat() != asfS16) {
+ if (_srcFormatInfo.getFormat() != AUDIO_SAMPLE_FORMAT_S16) {
logger.error("Unsupported format", "TAudioConverter_FFmpeg.Init");
return false;
}