Ticket #10478: ClassicCommDetector_cpp.diff

File ClassicCommDetector_cpp.diff, 596 bytes (added by Gary Buhrmaster <gary.buhrmaster@…>, 12 years ago)
  • mythtv/programs/mythcommflag/ClassicCommDetector.cpp

    diff --git a/mythtv/programs/mythcommflag/ClassicCommDetector.cpp b/mythtv/programs/mythcommflag/ClassicCommDetector.cpp
    index 98304c7..1296a72 100644
    a b void ClassicCommDetector::BuildSceneChangeCommList(void) 
    20422042
    20432043    sceneCommBreakMap.clear();
    20442044
    2045     memset(sc_histogram, 0, sizeof(sc_histogram));
     2045    memset(sc_histogram, 0, sizeof(*sc_histogram)*(seconds+1));
    20462046    for (uint64_t f = 1; f <= framesProcessed; f++)
    20472047    {
    20482048        if (sceneMap.contains(f))