Permalink
Browse files

Squelch an "unused variable" warning.

  • Loading branch information...
1 parent c3774a8 commit 5c7a41fdc4e3e020de5a03db96cb7b60a218f571 @cpinkham cpinkham committed May 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/avformatwriter.cpp
@@ -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

0 comments on commit 5c7a41f

Please sign in to comment.