From ebc050d133c47d8b27ce14c35401cff5161e0308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 15 May 2023 17:52:20 +0300 Subject: [PATCH] ptp: Add a working default branch to the message type switch Part-of: --- subprojects/gstreamer/libs/gst/net/gstptpclock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gstreamer/libs/gst/net/gstptpclock.c b/subprojects/gstreamer/libs/gst/net/gstptpclock.c index fa83003a2b..b620731143 100644 --- a/subprojects/gstreamer/libs/gst/net/gstptpclock.c +++ b/subprojects/gstreamer/libs/gst/net/gstptpclock.c @@ -1828,7 +1828,6 @@ have_stdout_body (GInputStream * stdout_pipe, GAsyncResult * res, } break; } - default: case TYPE_CLOCK_ID:{ if (CUR_STDIO_HEADER_SIZE != 8) { GST_ERROR ("Unexpected clock id size (%u != 8)", CUR_STDIO_HEADER_SIZE); @@ -1848,6 +1847,8 @@ have_stdout_body (GInputStream * stdout_pipe, GAsyncResult * res, g_mutex_unlock (&ptp_lock); break; } + default: + break; } /* And read the next header */