summaryrefslogtreecommitdiff
path: root/ext/cog/gstcogutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/cog/gstcogutils.c')
-rw-r--r--ext/cog/gstcogutils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/cog/gstcogutils.c b/ext/cog/gstcogutils.c
index 4d7c8b99f..ff23862f8 100644
--- a/ext/cog/gstcogutils.c
+++ b/ext/cog/gstcogutils.c
@@ -126,6 +126,7 @@ gst_cog_buffer_wrap (GstBuffer * buf, GstVideoFormat format, int width,
break;
default:
g_assert_not_reached ();
+ return NULL;
}
cog_frame_set_free_callback (frame, gst_cog_frame_free, buf);