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

Commit ce4769c1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Close sidebandHandle to avoid fd leakage"

parents 0d83baaa 9ae27e11
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(