changeset 2627:af403e794831 libavformat

set a default value for num_channels
author aurel
date Thu, 18 Oct 2007 21:56:44 +0000
parents 39ede602ff13
children 93cc89cb0c9c
files electronicarts.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Thu Oct 18 21:55:51 2007 +0000
+++ b/electronicarts.c	Thu Oct 18 21:56:44 2007 +0000
@@ -80,6 +80,8 @@
     EaDemuxContext *ea = s->priv_data;
     ByteIOContext *pb = &s->pb;
 
+    ea->num_channels = 1;
+
     while (inHeader) {
         int inSubheader;
         uint8_t byte;