diff options
Diffstat (limited to 'cmds/stagefright')
-rw-r--r-- | cmds/stagefright/SimplePlayer.cpp | 2 | ||||
-rw-r--r-- | cmds/stagefright/codec.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmds/stagefright/SimplePlayer.cpp b/cmds/stagefright/SimplePlayer.cpp index f269e80..fac3a8c 100644 --- a/cmds/stagefright/SimplePlayer.cpp +++ b/cmds/stagefright/SimplePlayer.cpp @@ -396,7 +396,7 @@ status_t SimplePlayer::onReset() { for (size_t i = 0; i < mStateByTrackIndex.size(); ++i) { CodecState *state = &mStateByTrackIndex.editValueAt(i); - CHECK_EQ(state->mCodec->stop(), (status_t)OK); + CHECK_EQ(state->mCodec->release(), (status_t)OK); } mStartTimeRealUs = -1ll; diff --git a/cmds/stagefright/codec.cpp b/cmds/stagefright/codec.cpp index b850190..fbf800c 100644 --- a/cmds/stagefright/codec.cpp +++ b/cmds/stagefright/codec.cpp @@ -295,7 +295,7 @@ static int decode( for (size_t i = 0; i < stateByTrack.size(); ++i) { CodecState *state = &stateByTrack.editValueAt(i); - CHECK_EQ((status_t)OK, state->mCodec->stop()); + CHECK_EQ((status_t)OK, state->mCodec->release()); } return 0; |