changeset 2638:ba383dcf2465 libavformat

add support for PCM codec
author aurel
date Thu, 18 Oct 2007 23:05:30 +0000
parents b8f97bf41cc3
children 39efecda734f
files electronicarts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Thu Oct 18 22:53:37 2007 +0000
+++ b/electronicarts.c	Thu Oct 18 23:05:30 2007 +0000
@@ -139,6 +139,7 @@
     }
 
     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);