diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-18 21:56:44 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-18 21:56:44 +0000 |
commit | 9853ce8074ac0eefe62e85379552488c43301fe9 (patch) | |
tree | fd04e71a4e98b8744f77fe07b810920846b116ca /libavformat/electronicarts.c | |
parent | 215eb1028d155cae2184673ab36cddd101b1390b (diff) | |
download | ffmpeg-9853ce8074ac0eefe62e85379552488c43301fe9.tar.gz |
set a default value for num_channels
Originally committed as revision 10787 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r-- | libavformat/electronicarts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 9c20290d5b..806793aefd 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -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; |