Ran script to remove trailing spaces and tabs

This commit is contained in:
Robert Osfield
2012-03-21 17:36:20 +00:00
parent 1e35f8975d
commit 14a563dc9f
1495 changed files with 21873 additions and 21873 deletions

View File

@@ -72,7 +72,7 @@ void FFmpegDecoderAudio::open(AVStream * const stream)
m_frequency = m_context->sample_rate;
m_nb_channels = m_context->channels;
switch (m_context->sample_fmt)
switch (m_context->sample_fmt)
{
case AV_SAMPLE_FMT_NONE:
throw std::runtime_error("invalid audio format AV_SAMPLE_FMT_NONE");
@@ -231,7 +231,7 @@ void FFmpegDecoderAudio::fillBuffer(void * const buffer, size_t size)
void FFmpegDecoderAudio::decodeLoop()
{
const bool skip_audio = ! validContext() || ! m_audio_sink.valid();
if (! skip_audio && ! m_audio_sink->playing())
{
m_clocks.audioSetDelay(m_audio_sink->getDelay());
@@ -339,7 +339,7 @@ size_t FFmpegDecoderAudio::decodeFrame(void * const buffer, const size_t size)
// If we have some data, return it and come back for more later.
if (data_size > 0)
return data_size;
return data_size;
}
// Get next packet