[vlc-commits] mediacodec: fix missing brackets

Thomas Guillem git at videolan.org
Mon Aug 17 15:13:59 CEST 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Aug 17 15:11:13 2015 +0200| [c4a54bae2d5b1ad91b1fce5fd6b7282aa53c6314] | committer: Thomas Guillem

mediacodec: fix missing brackets

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c4a54bae2d5b1ad91b1fce5fd6b7282aa53c6314
---

 modules/codec/omxil/mediacodec_jni.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/omxil/mediacodec_jni.c b/modules/codec/omxil/mediacodec_jni.c
index 294c69c..641e48b 100644
--- a/modules/codec/omxil/mediacodec_jni.c
+++ b/modules/codec/omxil/mediacodec_jni.c
@@ -527,9 +527,11 @@ static int Start(mc_api *api, const char *psz_name, const char *psz_mime,
             b_direct_rendering = false;
 
         if (b_direct_rendering && p_args->video.i_angle != 0)
+        {
             jrotation_string = (*env)->NewStringUTF(env, "rotation-degrees");
             (*env)->CallVoidMethod(env, jformat, jfields.set_integer,
                                    jrotation_string, p_args->video.i_angle);
+        }
     }
     else
     {



More information about the vlc-commits mailing list