Release MediaCodec only if the codec has been successfully created. This might avoid some crashes.
Attach a file by drag & drop or click to upload