From 513b9fc615de45378ec2f9403106767204ae3a45 Mon Sep 17 00:00:00 2001 From: tobigun Date: Wed, 22 Dec 2010 18:39:37 +0000 Subject: 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 --- mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mediaplugin/src/mediaplugins/ffmpeg/ffmpeg_audio_decode.cpp') 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"); -- cgit v1.2.3