diff options
author | David Schleef <ds@schleef.org> | 2008-12-02 06:21:21 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2008-12-02 06:21:21 +0000 |
commit | eaa43c488c711b110006ddbb3ea7c554fef86d3b (patch) | |
tree | a147805a37999982b03b54e46866a4b1cd9e3ae9 | |
parent | 10097dffbd1f9a4874c93cbce4868685463b1548 (diff) | |
download | gstreamer-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/jp2k/gstjasperenc.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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 (); } |