projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93fa8b2
)
add support for PCM codec
author
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 18 Oct 2007 23:05:30 +0000
(23:05 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 18 Oct 2007 23:05:30 +0000
(23:05 +0000)
Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/electronicarts.c
patch
|
blob
|
history
diff --git
a/libavformat/electronicarts.c
b/libavformat/electronicarts.c
index e2100547fc160c41437b786d8b81721d07dfcfe2..ae88d051998647c5bd0874d4adf0d16323320d0d 100644
(file)
--- 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);