changeset 3708:ecaebc438438 libavformat

Electronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2 flag.
author pross
date Tue, 12 Aug 2008 08:35:09 +0000
parents 57d88d565add
children 1c2e46d1f5c3
files electronicarts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Tue Aug 12 08:33:32 2008 +0000
+++ b/electronicarts.c	Tue Aug 12 08:35:09 2008 +0000
@@ -181,6 +181,7 @@
         }
         switch (revision2) {
         case  8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break;
+        case 10: ea->audio_codec = CODEC_ID_ADPCM_EA_R2; break;
         case -1: break;
         default:
             av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);