]> git.sesse.net Git - vlc/commit
mediacodec: fix jni LocalRef leaks
authorThomas Guillem <thomas@gllm.fr>
Fri, 12 Dec 2014 11:38:54 +0000 (12:38 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 12 Dec 2014 12:18:25 +0000 (13:18 +0100)
commit2b670becb799a36398bb19a64b62dad22d21fc91
tree6c1d05cc7f42aab87cf7644a5531aa976f9aeff6
parentbe0c8c647577b61574bd212c5afb1d7992e89236
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>
modules/codec/omxil/android_mediacodec.c