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

Commit aa24ee6f authored by Vignesh Venkatasubramanian's avatar Vignesh Venkatasubramanian Committed by Android (Google) Code Review
Browse files

Merge "mpeg4/av1: Update the minimum size check for AV1 CSD"

parents 7adaefea 7d450d61
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4386,7 +4386,7 @@ MediaTrackHelper *MPEG4Extractor::getTrack(size_t index) {

        const uint8_t *ptr = (const uint8_t *)data;

        if (size < 5 || ptr[0] != 0x81) {  // configurationVersion == 1
        if (size < 4 || ptr[0] != 0x81) {  // configurationVersion == 1
            return NULL;
        }
        if (!strcasecmp(mime, MEDIA_MIMETYPE_IMAGE_AVIF)) {