commit | 6ce8933bb26e134f9b6618a8eb69c87fa9416735 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Feb 23 10:21:57 2011 -0800 |
committer | Andreas Huber <andih@google.com> | Wed Feb 23 10:21:57 2011 -0800 |
tree | e86444f51aa83f9c934fc2d2614b9a76319729e3 | |
parent | 2fdd35794bdddd0a74749a933c402a416da34954 [diff] |
Matroska specs say the number of audio channels defaults to 1 if tag not present. Change-Id: I868f93c4ed0314d5928ae8222fa2ee6f74e1eeaa related-to-bug: 3480589
diff --git a/mkvparser/mkvparser.cpp b/mkvparser/mkvparser.cpp index b4ce5b3..b43b038 100644 --- a/mkvparser/mkvparser.cpp +++ b/mkvparser/mkvparser.cpp
@@ -3305,7 +3305,7 @@ AudioTrack::AudioTrack(Segment* pSegment, const Info& i) : Track(pSegment, i), m_rate(0.0), - m_channels(0), + m_channels(1), m_bitDepth(-1) { assert(i.type == 2);