add support for PCM codec
authorAurelien Jacobs <aurel@gnuage.org>
Thu, 18 Oct 2007 23:05:30 +0000 (23:05 +0000)
committerAurelien 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

index e2100547fc160c41437b786d8b81721d07dfcfe2..ae88d051998647c5bd0874d4adf0d16323320d0d 100644 (file)
@@ -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);