Loading media/libmediaplayerservice/VorbisPlayer.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -345,9 +345,6 @@ status_t VorbisPlayer::reset() { LOGV("reset\n"); Mutex::Autolock l(mMutex); if (mState != STATE_OPEN) { return NO_ERROR; } return reset_nosync(); } Loading @@ -355,10 +352,13 @@ status_t VorbisPlayer::reset() status_t VorbisPlayer::reset_nosync() { // close file if (mFile != NULL) { ov_clear(&mVorbisFile); // this also closes the FILE if (mFile != NULL) { LOGV("OOPS! Vorbis didn't close the file"); fclose(mFile); mFile = NULL; } } mState = STATE_ERROR; Loading Loading
media/libmediaplayerservice/VorbisPlayer.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -345,9 +345,6 @@ status_t VorbisPlayer::reset() { LOGV("reset\n"); Mutex::Autolock l(mMutex); if (mState != STATE_OPEN) { return NO_ERROR; } return reset_nosync(); } Loading @@ -355,10 +352,13 @@ status_t VorbisPlayer::reset() status_t VorbisPlayer::reset_nosync() { // close file if (mFile != NULL) { ov_clear(&mVorbisFile); // this also closes the FILE if (mFile != NULL) { LOGV("OOPS! Vorbis didn't close the file"); fclose(mFile); mFile = NULL; } } mState = STATE_ERROR; Loading