public void release() {
        for (MediaCodecDecoder decoder : mDecoders) {
            // Catch decoder.release() exceptions to avoid breaking the release loop on the first
            // exception and leaking unreleased decoders.
            try {
                decoder.release();
            } catch (Exception e) {
                Log.e(TAG, "release failed", e);
            }
        }
        mDecoders.clear();
    }
Releases all decoders. This must be called to free decoder resources when this object is no longer in use.
MediaPlayer/src/main/java/net/protyposis/android/mediaplayer/Decoders.java