Permalink
Browse files

Silence unused variable warning from gcc in mpeg2fix.cpp

  • Loading branch information...
stuartm committed Dec 17, 2012
1 parent 4e3c2d4 commit 43e17c509e7c420c6853dc015243c239d8f26006
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/programs/mythtranscode/mpeg2fix.cpp
@@ -1918,7 +1918,7 @@ int MPEG2fixup::Start()
{
// NOTE: expectedvPTS/DTS are in units of SCR (300*PTS) to allow for better
// accounting of rounding errors (still won't be right, but better)
int64_t expectedvPTS, expectedPTS[N_AUDIO];
int64_t expectedvPTS; // , expectedPTS[N_AUDIO];
int64_t expectedDTS = 0, lastPTS = 0, initPTS = 0, deltaPTS = 0;
int64_t origvPTS = 0, origaPTS[N_AUDIO];
int64_t cutStartPTS = 0, cutEndPTS = 0;
@@ -1983,7 +1983,7 @@ int MPEG2fixup::Start()
{
FrameList *af = (*it);
origaPTS[it.key()] = af->first()->pkt.pts * 300;
expectedPTS[it.key()] = udiff2x33(af->first()->pkt.pts, initPTS);
//expectedPTS[it.key()] = udiff2x33(af->first()->pkt.pts, initPTS);
af_dlta_cnt[it.key()] = 0;
cutState[it.key()] = !!(discard);
}

0 comments on commit 43e17c5

Please sign in to comment.