[Android] jni: make the function name consistent with other set<X> functions

Edward Wang git at videolan.org
Fri Aug 24 14:41:06 CEST 2012


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Wed Aug 22 17:15:02 2012 -0400| [e6d3441453eef63966648e3e02f381090eb4a57f] | committer: Jean-Baptiste Kempf

jni: make the function name consistent with other set<X> functions

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 vlc-android/jni/libvlcjni.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/jni/libvlcjni.c b/vlc-android/jni/libvlcjni.c
index e032814..5a1d5ef 100644
--- a/vlc-android/jni/libvlcjni.c
+++ b/vlc-android/jni/libvlcjni.c
@@ -424,7 +424,7 @@ void setLong(JNIEnv *env, jobject item, const char* field, long value)
     (*env)->SetLongField(env, item, fieldId, value);
 }
 
-void SetFloat(JNIEnv *env, jobject item, const char* field, float value)
+void setFloat(JNIEnv *env, jobject item, const char* field, float value)
 {
     jclass cls;
     jfieldID fieldId;
@@ -705,7 +705,7 @@ jobjectArray Java_org_videolan_vlc_LibVLC_readTracksInfo(JNIEnv *env, jobject th
             {
                 setInt(env, item, "Height", p_tracks[i].u.video.i_height);
                 setInt(env, item, "Width", p_tracks[i].u.video.i_width);
-                SetFloat(env, item, "Framerate", p_tracks[i].u.video.f_frame_rate);
+                setFloat(env, item, "Framerate", p_tracks[i].u.video.f_frame_rate);
             }
             if (p_tracks[i].i_type == libvlc_track_audio)
             {



More information about the Android mailing list