summaryrefslogtreecommitdiffstats
path: root/ext/jpeg/gstsmokedec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/jpeg/gstsmokedec.c')
-rw-r--r--ext/jpeg/gstsmokedec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/jpeg/gstsmokedec.c b/ext/jpeg/gstsmokedec.c
index 88fa726f..72ed8fe0 100644
--- a/ext/jpeg/gstsmokedec.c
+++ b/ext/jpeg/gstsmokedec.c
@@ -183,7 +183,8 @@ gst_smokedec_chain (GstPad * pad, GstBuffer * buf)
if (smokeret != SMOKECODEC_OK)
goto header_error;
- return GST_FLOW_OK;
+ ret = GST_FLOW_OK;
+ goto done;
}
/* now handle data packets */