Fix return value in transcode function

This commit is contained in:
Arun Raghavan 2012-11-11 15:05:42 +05:30
parent 46bd685388
commit 81aacd7b11

View file

@ -56,6 +56,8 @@ static int transcode(const char *infile, const char *outfile,
gst_object_unref (bus);
gst_element_set_state (pipeline, GST_STATE_NULL);
gst_object_unref (pipeline);
return 0;
}
jint Java_org_wikimedia_commons_Transcoder_transcode(JNIEnv* env,