mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-17 18:02:23 +03:00
set a default value for num_channels
Originally committed as revision 10787 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
1 parent
215eb1028d
commit
9853ce8074
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user