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

Commit 6102539e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Close sidebandHandle to avoid fd leakage" am: ce4769c1

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

Change-Id: I654859e33624e2b60f772db3824785ce85139613
parents 184a3067 ce4769c1
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -3270,10 +3270,12 @@ status_t ACodec::configureTunneledVideoPlayback(
    if (err != OK) {
        ALOGE("native_window_set_sideband_stream(%p) failed! (err %d).",
                sidebandHandle, err);
        return err;
    }

    return OK;
    native_handle_close(sidebandHandle);
    native_handle_delete(sidebandHandle);

    return err;
}

status_t ACodec::setVideoPortFormatType(