summaryrefslogtreecommitdiffstats
path: root/tests/check
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-04-24 15:49:18 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-04-24 15:49:18 +0000
commit203ed497216af1691fa1ba3da3038ad62dfd0bf4 (patch)
tree75531d568b429fac8e340b204b8e21b5bfeb5aa8 /tests/check
parent61a68fdaf363bba0eb42ab5f6839414d24122d1e (diff)
downloadgst-plugins-bad-203ed497216af1691fa1ba3da3038ad62dfd0bf4.tar.gz
gst-plugins-bad-203ed497216af1691fa1ba3da3038ad62dfd0bf4.tar.bz2
gst-plugins-bad-203ed497216af1691fa1ba3da3038ad62dfd0bf4.zip
Plug some leaks; try to make build bot happy again.
Original commit message from CVS: * gst/y4m/gsty4mencode.c: (gst_y4m_encode_init), (gst_y4m_encode_setcaps): * tests/check/elements/y4menc.c: (GST_START_TEST): Plug some leaks; try to make build bot happy again.
Diffstat (limited to 'tests/check')
-rw-r--r--tests/check/elements/y4menc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/elements/y4menc.c b/tests/check/elements/y4menc.c
index 56088891..b5c5fcc4 100644
--- a/tests/check/elements/y4menc.c
+++ b/tests/check/elements/y4menc.c
@@ -115,7 +115,7 @@ GST_START_TEST (test_y4m)
case 0:
fail_unless (strlen (data0) == 40);
fail_unless (GST_BUFFER_SIZE (outbuffer) == size + 40);
- fail_unless (strncmp (data0, GST_BUFFER_DATA (outbuffer),
+ fail_unless (memcmp (data0, GST_BUFFER_DATA (outbuffer),
strlen (data0)) == 0);
break;
default: