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

Commit a83df768 authored by ztenghui's avatar ztenghui
Browse files

Make release() behaves the same way as other part of media framework

bug:7991013

Change-Id: Ib3efa94c0a6a599f71517f80fb7c3842d8d4e74f
parent 68ccf103
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ final public class MediaMuxer {
     */
    public void release() {
        if (mState == MUXER_STATE_STARTED) {
            throw new IllegalStateException("Can't release when muxer is started");
            stop();
        }
        if (mNativeObject != 0) {
            nativeRelease(mNativeObject);