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

Commit 040546bd authored by Hangyu Kuang's avatar Hangyu Kuang Committed by Android (Google) Code Review
Browse files

Merge "stagefright: MPEG4Writer stops the source before exiting the thread." into nyc-dev

parents f967be03 0332fade
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2536,6 +2536,7 @@ status_t MPEG4Writer::Track::threadEntry() {
            ALOGE("timestampUs %" PRId64 " < lastTimestampUs %" PRId64 " for %s track",
                timestampUs, lastTimestampUs, trackName);
            copy->release();
            mSource->stop();
            return UNKNOWN_ERROR;
        }