add support for PCM codec

Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Aurelien Jacobs 18 years ago
parent 93fa8b2bf5
commit fd402a5a63
  1. 1
      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);

Loading…
Cancel
Save