Ticket #2040: mythplugins-mythvideo-initialize_categoryid.patch

File mythplugins-mythvideo-initialize_categoryid.patch, 792 bytes (added by sphery <mtdean@…>, 18 years ago)

Main patch (fixes unitialized categoryID)

  • mythvideo/mythvideo/metadata.cpp

  • mythvideo/mythvideo/metadata.h

     
    4141        category = lcategory;
    4242        genres = lgenres;
    4343        countries = lcountries;
     44        categoryID = 0;
    4445    }
    4546   
    4647    Metadata(const Metadata &other) { clone(other); }
     
    6768        category = other.category;
    6869        genres = other.genres;
    6970        countries = other.countries;
     71        categoryID = 0;
    7072    }
    7173   
    7274