mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-11 03:32:39 +00: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:
parent
215eb1028d
commit
9853ce8074
@ -80,6 +80,8 @@ static int process_audio_header_elements(AVFormatContext *s)
|
|||||||
EaDemuxContext *ea = s->priv_data;
|
EaDemuxContext *ea = s->priv_data;
|
||||||
ByteIOContext *pb = &s->pb;
|
ByteIOContext *pb = &s->pb;
|
||||||
|
|
||||||
|
ea->num_channels = 1;
|
||||||
|
|
||||||
while (inHeader) {
|
while (inHeader) {
|
||||||
int inSubheader;
|
int inSubheader;
|
||||||
uint8_t byte;
|
uint8_t byte;
|
||||||
|
Loading…
Reference in New Issue
Block a user