| Index: media/mp4/avc.cc
|
| diff --git a/media/mp4/avc.cc b/media/mp4/avc.cc
|
| index faf9939cf966b1aa1769cf7624e6fd1005fe08ee..29994661387e3448af446958842323bfd09553a2 100644
|
| --- a/media/mp4/avc.cc
|
| +++ b/media/mp4/avc.cc
|
| @@ -88,27 +88,5 @@ bool AVC::InsertParameterSets(const AVCDecoderConfigurationRecord& avc_config,
|
| return true;
|
| }
|
|
|
| -// static
|
| -ChannelLayout AVC::ConvertAACChannelCountToChannelLayout(int count) {
|
| - switch (count) {
|
| - case 1:
|
| - return CHANNEL_LAYOUT_MONO;
|
| - case 2:
|
| - return CHANNEL_LAYOUT_STEREO;
|
| - case 3:
|
| - return CHANNEL_LAYOUT_SURROUND;
|
| - case 4:
|
| - return CHANNEL_LAYOUT_4_0;
|
| - case 5:
|
| - return CHANNEL_LAYOUT_5_0;
|
| - case 6:
|
| - return CHANNEL_LAYOUT_5_1;
|
| - case 8:
|
| - return CHANNEL_LAYOUT_7_1;
|
| - default:
|
| - return CHANNEL_LAYOUT_UNSUPPORTED;
|
| - }
|
| -}
|
| -
|
| } // namespace mp4
|
| } // namespace media
|
|
|