From: Aurelien Jacobs Date: Thu, 18 Oct 2007 23:05:30 +0000 (+0000) Subject: add support for PCM codec X-Git-Tag: v0.5~7182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd402a5a63f9981c54680d49875595069dfb509a;p=platform%2Fupstream%2Flibav.git add support for PCM codec Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index e2100547f..ae88d0519 100644 --- 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);