diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-12-24 14:48:38 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-12-24 14:48:38 +0100 |
commit | 81b695bb010c4b8c85296a50e919a53ac59a392e (patch) | |
tree | 2afc3876be10b81f97c90d84402dd7a94926a238 | |
parent | c9c37983babad909d01c1c4c417d42a0cf252c1d (diff) |
x264enc: Fix various compiler warnings in the test
-rw-r--r-- | tests/check/elements/x264enc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/check/elements/x264enc.c b/tests/check/elements/x264enc.c index 572ee79baf..7c4b7810c4 100644 --- a/tests/check/elements/x264enc.c +++ b/tests/check/elements/x264enc.c @@ -143,10 +143,6 @@ test_video_profile (const gchar * profile, gint profile_id, { GstElement *x264enc; GstBuffer *inbuffer, *outbuffer; - GstCaps *caps; - GstMapInfo map; - guint8 *data; - gsize size; int i, num_buffers; x264enc = setup_x264enc (profile, "avc", input_format); @@ -161,6 +157,8 @@ test_video_profile (const gchar * profile, gint profile_id, inbuffer = gst_buffer_new_and_alloc (384 * 288 * 2); else if (!strcmp (input_format, "Y444")) inbuffer = gst_buffer_new_and_alloc (384 * 288 * 3); + else + g_assert_not_reached (); /* makes valgrind's memcheck happier */ gst_buffer_memset (inbuffer, 0, 0, -1); |