diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-18 23:05:30 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-18 23:05:30 +0000 |
commit | fd402a5a63f9981c54680d49875595069dfb509a (patch) | |
tree | dd8fb69b761558395a0663810bb681b61ece7eff /libavformat | |
parent | 93fa8b2bf5eb4302b2b188e7cbc44bf4909fd510 (diff) | |
download | ffmpeg-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.c | 1 |
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); |