summaryrefslogtreecommitdiffstats
path: root/media/ffmpeg/ffmpeg_common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/ffmpeg/ffmpeg_common.cc')
-rw-r--r--media/ffmpeg/ffmpeg_common.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc
index e03f6d2..8df6c75 100644
--- a/media/ffmpeg/ffmpeg_common.cc
+++ b/media/ffmpeg/ffmpeg_common.cc
@@ -31,7 +31,7 @@ AudioCodec CodecIDToAudioCodec(CodecID codec_id) {
return kCodecVorbis;
case CODEC_ID_PCM_U8:
case CODEC_ID_PCM_S16LE:
- case CODEC_ID_PCM_S32LE:
+ case CODEC_ID_PCM_S24LE:
return kCodecPCM;
case CODEC_ID_FLAC:
return kCodecFLAC;
@@ -61,7 +61,7 @@ static CodecID AudioCodecToCodecID(AudioCodec audio_codec,
case 16:
return CODEC_ID_PCM_S16LE;
case 32:
- return CODEC_ID_PCM_S32LE;
+ return CODEC_ID_PCM_S24LE;
default:
DVLOG(1) << "Unsupported bits per channel: " << bits_per_channel;
}