changeset 3609:08688b4b1441 libavformat

EA Demuxer: make rev2 flag optional
author pross
date Wed, 30 Jul 2008 07:41:32 +0000
parents cb6509f71905
children 71ce7d228291
files electronicarts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Wed Jul 30 01:55:59 2008 +0000
+++ b/electronicarts.c	Wed Jul 30 07:41:32 2008 +0000
@@ -178,6 +178,7 @@
         }
         switch (revision2) {
         case  8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break;
+        case -1: break;
         default:
             av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
             return 0;