diff options
Diffstat (limited to 'tests/check/elements/y4menc.c')
-rw-r--r-- | tests/check/elements/y4menc.c | 2 |
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: |