Skip to content

Commit

Permalink
Squelch an "unused variable" warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpinkham committed May 17, 2012
1 parent c3774a8 commit 5c7a41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/avformatwriter.cpp
Expand Up @@ -331,8 +331,8 @@ static void bswap_16_buf(short int *buf, int buf_cnt, int audio_channels)

bool AVFormatWriter::WriteAudioFrame(unsigned char *buf, int fnum, int timecode)
{
int sample_cnt = m_audioFrameSize / m_audioBytesPerSample;
#if HAVE_BIGENDIAN
int sample_cnt = m_audioFrameSize / m_audioBytesPerSample;
bswap_16_buf((short int*) buf, sample_cnt, m_audioChannels);
#endif

Expand Down

0 comments on commit 5c7a41f

Please sign in to comment.