diff options
Diffstat (limited to 'user/gst-plugins-good/fix-arm-test-alignment.patch')
-rw-r--r-- | user/gst-plugins-good/fix-arm-test-alignment.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/user/gst-plugins-good/fix-arm-test-alignment.patch b/user/gst-plugins-good/fix-arm-test-alignment.patch new file mode 100644 index 000000000..673ec7d83 --- /dev/null +++ b/user/gst-plugins-good/fix-arm-test-alignment.patch @@ -0,0 +1,16 @@ +diff -ur a/tests/check/elements/rtpbin_buffer_list.c b/tests/check/elements/rtpbin_buffer_list.c +--- a/tests/check/elements/rtpbin_buffer_list.c 2023-06-12 16:31:48.734887801 +0000 ++++ b/tests/check/elements/rtpbin_buffer_list.c 2023-06-12 16:54:58.883822559 +0000 +@@ -236,10 +236,8 @@ + * most likely be changed in gstrtpbin. + */ + fail_unless (info.data != NULL); +- fail_unless_equals_uint64 (*(guint64 *) info.data, +- *(guint64 *) rtp_header[index]); +- fail_unless (*(guint16 *) (info.data + 12) == +- *(guint16 *) (rtp_header[index] + 12)); ++ fail_unless (memcmp(info.data , rtp_header[index] , 8) == 0); ++ fail_unless (memcmp(info.data + 12, rtp_header[index] + 12, info.size - 12) == 0); + + gst_memory_unmap (memory, &info); + gst_memory_unref (memory); |