Skip to content

Commit

Permalink
Silence compilation warning using clang
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Dec 16, 2012
1 parent 64aa530 commit 148165d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/avfdecoder.cpp
Expand Up @@ -369,7 +369,7 @@ void avfDecoder::run()
}

AVPacket pkt, tmp_pkt;
int data_size, dec_len;
int data_size;
uint fill, total;
// account for possible frame expansion in aobase (upmix, float conv)
uint thresh = bks * 12 / AudioOutputSettings::SampleSize(m_sampleFmt);
Expand Down
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/metaioavfcomment.cpp
Expand Up @@ -4,6 +4,7 @@
#include "metadata.h"

// libmyth
#include <mythconfig.h>
#include <mythcontext.h>

extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/metaioavfcomment.h
Expand Up @@ -4,7 +4,7 @@
// Mythmusic
#include "metaio.h"

class AVFormatContext;
struct AVFormatContext;

/*!
* \class MetaIOAVFComment
Expand Down
2 changes: 0 additions & 2 deletions mythplugins/mythmusic/mythmusic/metaiomp4.cpp
Expand Up @@ -32,8 +32,6 @@ bool MetaIOMP4::write(const Metadata* mdata)
if (!mdata)
return false;

mdata = mdata;

// Disabled because it doesn't actually work. Better implemented with Taglib
// when we formally move to 1.6

Expand Down
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/metaiomp4.h
Expand Up @@ -4,7 +4,7 @@
// Mythmusic
#include "metaio.h"

class AVFormatContext;
struct AVFormatContext;

/*!
* \class MetaIOMP4
Expand Down

0 comments on commit 148165d

Please sign in to comment.