projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
215eb10
)
set a default value for num_channels
author
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 18 Oct 2007 21:56:44 +0000
(21:56 +0000)
committer
Aurelien Jacobs
<aurel@gnuage.org>
Thu, 18 Oct 2007 21:56:44 +0000
(21:56 +0000)
Originally committed as revision 10787 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/electronicarts.c
patch
|
blob
|
history
diff --git
a/libavformat/electronicarts.c
b/libavformat/electronicarts.c
index
9c20290
..
806793a
100644
(file)
--- 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;