summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2008-12-02 06:21:21 +0000
committerDavid Schleef <ds@schleef.org>2008-12-02 06:21:21 +0000
commiteaa43c488c711b110006ddbb3ea7c554fef86d3b (patch)
treea147805a37999982b03b54e46866a4b1cd9e3ae9
parent10097dffbd1f9a4874c93cbce4868685463b1548 (diff)
downloadgstreamer-plugins-bad-eaa43c488c711b110006ddbb3ea7c554fef86d3b.tar.gz
ext/jp2k/gstjasperenc.c: Some compilers complain about uninitialized variable; add a g_assert_not_reached()
Original commit message from CVS: * ext/jp2k/gstjasperenc.c: Some compilers complain about uninitialized variable; add a g_assert_not_reached()
-rw-r--r--ChangeLog5
-rw-r--r--ext/jp2k/gstjasperenc.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 38af1ab0a..28b880a8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-01 David Schleef <ds@schleef.org>
+
+ * ext/jp2k/gstjasperenc.c: Some compilers complain about
+ uninitialized variable; add a g_assert_not_reached()
+
2008-12-01 Tim-Philipp Müller <tim.muller at collabora co uk>
Patch by: 이문형 <iwings at gmail dot com>
diff --git a/ext/jp2k/gstjasperenc.c b/ext/jp2k/gstjasperenc.c
index 095bc8f2f..a81a2a934 100644
--- a/ext/jp2k/gstjasperenc.c
+++ b/ext/jp2k/gstjasperenc.c
@@ -218,6 +218,8 @@ gst_jasper_enc_set_src_caps (GstJasperEnc * enc)
"height", G_TYPE_INT, enc->height, "fourcc", GST_TYPE_FOURCC, fourcc,
NULL);
break;
+ default:
+ g_assert_not_reached ();
}