mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Fix return value in transcode function
This commit is contained in:
parent
46bd685388
commit
81aacd7b11
1 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ static int transcode(const char *infile, const char *outfile,
|
||||||
gst_object_unref (bus);
|
gst_object_unref (bus);
|
||||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||||
gst_object_unref (pipeline);
|
gst_object_unref (pipeline);
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
jint Java_org_wikimedia_commons_Transcoder_transcode(JNIEnv* env,
|
jint Java_org_wikimedia_commons_Transcoder_transcode(JNIEnv* env,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue