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

Commit 64aa1136 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "MediaCodec: Avoid a string copy" am: 6614260a am: 90772923 am: 0f264b8d am: 8b877159

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

Change-Id: Ie8e61c3faf38a7eb7d6d0d5f8266a53f2033092b
parents 4fb02b3c 8b877159
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -523,7 +523,7 @@ void RevertOutputFormatIfNeeded(
}

void AmendOutputFormatWithCodecSpecificData(
        const uint8_t *data, size_t size, const std::string mediaType,
        const uint8_t *data, size_t size, const std::string &mediaType,
        const sp<AMessage> &outputFormat) {
    if (mediaType == MIMETYPE_VIDEO_AVC) {
        // Codec specific data should be SPS and PPS in a single buffer,