Author: post
Date: 2010-03-30 23:14:43 +0200 (Tue, 30 Mar 2010)
New Revision: 3282
Modified:
trunk/plugins/resample/resample.c
Log:
Fix typo and return properly.
Modified: trunk/plugins/resample/resample.c
===================================================================
--- trunk/plugins/resample/resample.c 2010-03-30 20:58:48 UTC (rev 3281)
+++ trunk/plugins/resample/resample.c 2010-03-30 21:14:43 UTC (rev 3282)
@@ -261,15 +261,17 @@
{
ResampleInfo* t = _thread_info;
- if (!t->input))
+ if (!t->input)
{
g_debug("Resampler: input is NULL");
- return;
+ g_thread_exit(NULL);
+ return NULL;
}
- if (!t->output))
+ if (!t->output)
{
g_debug("Resampler: output is NULL");
- return;
+ g_thread_exit(NULL);
+ return NULL;
}
if (t->input->h != t->output->h)
{
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit