Browse Source

set a default value for num_channels

Originally committed as revision 10787 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Aurelien Jacobs 18 years ago
parent
commit
9853ce8074
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/electronicarts.c

+ 2
- 0
libavformat/electronicarts.c View File

@@ -80,6 +80,8 @@ static int process_audio_header_elements(AVFormatContext *s)
EaDemuxContext *ea = s->priv_data;
ByteIOContext *pb = &s->pb;

ea->num_channels = 1;

while (inHeader) {
int inSubheader;
uint8_t byte;


Loading…
Cancel
Save