Skip to content

MediaCodec: Potential Memory leak

I was reading AMediaFormat Documentation. as mentioned there for getOutputFormat

"The caller must free the returned format"

here getOutputFormat is used https://code.videolan.org/videolan/vlc/-/blob/master/modules/codec/omxil/mediacodec_ndk.c?ref_type=heads#L497, but never freed.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information