}
aout_owner_t *owner = aout_owner(p_aout);
-
+#ifdef RECYCLE
/* Calling decoder is responsible for serializing aout_DecNew() and
* aout_DecDelete(). So no need to lock to _read_ those properties. */
if (owner->module != NULL) /* <- output exists */
/* No recycling: delete everything and restart from scratch */
aout_Shutdown (p_aout);
}
-
+#endif
int ret = -1;
/* TODO: reduce lock scope depending on decoder's real need */
aout_owner_t *owner = aout_owner (aout);
assert (owner->module != NULL);
+#ifdef RECYCLE
(void) owner;
+#else
+ aout_Shutdown (aout);
+#endif
}
#define AOUT_RESTART_OUTPUT 1