forked from FFmpeg/FFmpeg
add support for PCM codec
Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
93fa8b2bf5
commit
fd402a5a63
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue