Commit fd402a5a authored by Aurelien Jacobs's avatar Aurelien Jacobs

add support for PCM codec

Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 93fa8b2b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment