summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-10-06 14:07:59 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2009-10-12 15:47:28 +0200
commite6e552b16f2094440cd1a2fb3803a89feff81b62 (patch)
treedfe63f8751d74eb2091d433ca57f66527a814eb3
parentade53fb42f9a4c7c72268f11a779c70f67d6e861 (diff)
theoradec: avoid confusing error
-rw-r--r--ext/theora/theoradec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/theora/theoradec.c b/ext/theora/theoradec.c
index c084d72ba..b241e732e 100644
--- a/ext/theora/theoradec.c
+++ b/ext/theora/theoradec.c
@@ -1313,6 +1313,9 @@ theora_handle_420_image (GstTheoraDec * dec, yuv_buffer * yuv, GstBuffer ** out)
src_v += yuv->uv_stride;
}
}
+ return result;
+
+ /* ERRORS */
no_buffer:
{
GST_DEBUG_OBJECT (dec, "could not get buffer, reason: %s",