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

Commit 20169f38 authored by Vignesh Venkatasubramanian's avatar Vignesh Venkatasubramanian Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/12980999

Change-Id: Ied278735f857961155a1359ad9046532bd2add89
parents edeeb06c aa24ee6f
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)) {