libwebm: audio track channel count defaults to 1

Change-Id: Id12bec611bd34f299235a278738f3b55cf5a36c5
This commit is contained in:
matthewjheaney 2011-02-23 13:15:37 -05:00
parent a1aa16692a
commit b0465e167e

View File

@ -4716,6 +4716,9 @@ AudioTrack::AudioTrack(
} }
} }
if (m_channels <= 0)
m_channels = 1; //Matroska spec says this is the default
return; return;
} }