Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce79ca62 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Check for NULL in addTracks()" into gingerbread

parents ad5b210f 7e581e36
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -706,6 +706,7 @@ void MatroskaExtractor::addTracks() {

    for (size_t index = 0; index < tracks->GetTracksCount(); ++index) {
        const mkvparser::Track *track = tracks->GetTrackByIndex(index);
        if (!track) continue; // we can get back a NULL (it happens...)

        const char *const codecID = track->GetCodecId();
        LOGV("codec id = %s", codecID);