I have no idea how that ended up there... set the decoded audio format correctly

again. Should fix playback of any file where the ffmpeg plugin was responsible
for sound. (The symptoms were a crash into the debugger because of an unspecified
audio format...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32107 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2009-08-04 07:21:22 +00:00
parent b785870101
commit 037d052235
@@ -334,7 +334,7 @@ AVCodecDecoder::_NegotiateAudioOutputFormat(media_format* inOutFormat)
= fInputFormat.u.encoded_audio.output.frame_rate;
outputAudioFormat.channel_count
= fInputFormat.u.encoded_audio.output.channel_count;
outputAudioFormat.format = fInputFormat.u.encoded_audio.output.format;
outputAudioFormat.format = media_raw_audio_format::B_AUDIO_SHORT;
outputAudioFormat.buffer_size
= 1024 * fInputFormat.u.encoded_audio.output.channel_count;
inOutFormat->type = B_MEDIA_RAW_AUDIO;