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 e210054..ae88d05 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);