changeset 5509:d7e1371e4b5d libavformat

do not create Electronic Arts audio stream when unsupported revision2 audio codec is present [issue1516]
author pross
date Sun, 10 Jan 2010 05:08:42 +0000
parents 655d9d34f862
children 47ef38389cd3
files electronicarts.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Sat Jan 09 03:31:13 2010 +0000
+++ b/electronicarts.c	Sun Jan 10 05:08:42 2010 +0000
@@ -192,6 +192,7 @@
         case 16: ea->audio_codec = CODEC_ID_MP3; break;
         case -1: break;
         default:
+            ea->audio_codec = 0;
             av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
             return 0;
         }