Ticket #10915: transcode.cpp.diff

File transcode.cpp.diff, 586 bytes (added by m Parris <parrisimo@…>, 13 years ago)

patch changing abs to llabs

  • mythtv/programs/mythtranscode/transcode.cpp

    diff --git a/mythtv/programs/mythtranscode/transcode.cpp b/mythtv/programs/mythtranscode/transcode.cpp
    index 16ff6cd..9396c06 100644
    a b class Cutter 
    538538        {
    539539            return false;
    540540        }
    541         else if (abs(audioFramesToCut - frames) < audioFramesToCut)
     541        else if (llabs(audioFramesToCut - frames) < audioFramesToCut)
    542542        {
    543543            // Drop the packet containing these frames if doing
    544544            // so gets us closer to zero left to drop