mediacodec: fix jni LocalRef leaks
We can only have 512 LocalRefs, so don't leak them. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> (cherry picked from commit 2b670becb799a36398bb19a64b62dad22d21fc91) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment