aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-10-18 23:05:30 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-10-18 23:05:30 +0000
commitfd402a5a63f9981c54680d49875595069dfb509a (patch)
treedd8fb69b761558395a0663810bb681b61ece7eff /libavformat
parent93fa8b2bf5eb4302b2b188e7cbc44bf4909fd510 (diff)
downloadffmpeg-fd402a5a63f9981c54680d49875595069dfb509a.tar.gz
add support for PCM codec
Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/electronicarts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index e2100547fc..ae88d05199 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -139,6 +139,7 @@ static int process_audio_header_elements(AVFormatContext *s)
}
switch (compression_type) {
+ case 0: ea->audio_codec = CODEC_ID_PCM_S16LE; break;
case 7: ea->audio_codec = CODEC_ID_ADPCM_EA; break;
default:
av_log(s, AV_LOG_ERROR, "unsupported stream type; compression_type=%i\n", compression_type);