summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/ming/ming.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/ming/ming.c b/ext/ming/ming.c
index 79553186af..731efd4e93 100644
--- a/ext/ming/ming.c
+++ b/ext/ming/ming.c
@@ -1563,6 +1563,8 @@ PHP_FUNCTION(swfmovie_output)
void phpStreamOutputMethod(byte b, void * data)
{
+ TSRMLS_FETCH();
+
php_stream_write((php_stream*)data, &b, 1);
}