changeset 2686:af608703bde1 libavformat

EA IMA EACS decoder original patch by Peter Ross
author aurel
date Tue, 30 Oct 2007 23:20:26 +0000
parents 1774032af3e6
children f4d24b10d33d
files electronicarts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Tue Oct 30 23:12:18 2007 +0000
+++ b/electronicarts.c	Tue Oct 30 23:20:26 2007 +0000
@@ -201,6 +201,7 @@
         }
         break;
     case 1: ea->audio_codec = CODEC_ID_PCM_MULAW; ea->bytes = 1; break;
+    case 2: ea->audio_codec = CODEC_ID_ADPCM_IMA_EA_EACS; break;
     default:
         av_log (s, AV_LOG_ERROR, "unsupported stream type; audio compression_type=%i\n", compression_type);
     }