On Thu, Jul 04, 2019 at 03:43:48PM +0200, Matthieu Bouron wrote:
> ---
>  libavcodec/mediacodec_wrapper.c | 10 ----------
>  1 file changed, 10 deletions(-)
> 
> diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c
> index 70e1e7cae1..5213cf640a 100644
> --- a/libavcodec/mediacodec_wrapper.c
> +++ b/libavcodec/mediacodec_wrapper.c
> @@ -392,8 +392,6 @@ char *ff_AMediaCodecList_getCodecNameByType(const char 
> *mime, int profile, int e
>      struct JNIAMediaCodecListFields jfields = { 0 };
>      struct JNIAMediaFormatFields mediaformat_jfields = { 0 };
>  
> -    jobject format = NULL;
> -    jobject codec = NULL;
>      jobject codec_name = NULL;
>  
>      jobject info = NULL;
> @@ -571,14 +569,6 @@ done_with_info:
>      }
>  
>  done:
> -    if (format) {
> -        (*env)->DeleteLocalRef(env, format);
> -    }
> -
> -    if (codec) {
> -        (*env)->DeleteLocalRef(env, codec);
> -    }
> -
>      if (codec_name) {
>          (*env)->DeleteLocalRef(env, codec_name);
>      }
> -- 
> 2.22.0
> 

Ping for the patch set.

-- 
Matthieu B.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to