Skip to content

Commit

Permalink
[cosmetic] CDVDAudioCodecPassthroughFFmpeg: fix "switch statement con…
Browse files Browse the repository at this point in the history
…tains 'default' but no 'case' labels" warnings
  • Loading branch information
Montellese committed Jul 28, 2012
1 parent d9adba7 commit 8702387
Showing 1 changed file with 2 additions and 10 deletions.
Expand Up @@ -465,11 +465,7 @@ int CDVDAudioCodecPassthroughFFmpeg::GetChannels()
{
//Can't return correct channels here as this is used to keep sync.
//should probably have some other way to find out this
switch(m_codec)
{
default:
return 2;
}
return 2;
}

int CDVDAudioCodecPassthroughFFmpeg::GetSampleRate()
Expand Down Expand Up @@ -642,9 +638,5 @@ CAEChannelInfo CDVDAudioCodecPassthroughFFmpeg::GetChannelMap()
{AE_CH_RAW, AE_CH_RAW, AE_CH_RAW, AE_CH_RAW, AE_CH_RAW, AE_CH_RAW, AE_CH_RAW, AE_CH_RAW, AE_CH_NULL}
};

switch(m_codec)
{
default:
return map[0];
}
return map[0];
}

0 comments on commit 8702387

Please sign in to comment.