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

Edward Wang edward.c.wang at compdigitec.com
Wed Aug 22 23:15:02 CEST 2012


---
 vlc-android/jni/libvlcjni.c |    4 ++--
 1 files 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)
             {
-- 
1.7.5.4



More information about the Android mailing list