avtp: Build with clang

Minor non-conformity on AVTP code made it not compile with clang.
This commit is contained in:
Ederson de Souza 2020-01-24 10:58:32 -08:00 committed by GStreamer Merge Bot
parent f1976e0de5
commit 916966606b

View file

@ -295,9 +295,8 @@ gst_avtp_aaf_depay_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
goto discard;
if (seqnum != avtpbasedepayload->seqnum) {
GST_INFO_OBJECT (avtpaafdepay, "Sequence number mismatch: expected %"
G_GUINT16_FORMAT " received %" G_GUINT64_FORMAT,
avtpbasedepayload->seqnum, seqnum);
GST_INFO_OBJECT (avtpaafdepay, "Sequence number mismatch: expected %u"
" received %" G_GUINT64_FORMAT, avtpbasedepayload->seqnum, seqnum);
avtpbasedepayload->seqnum = seqnum;
}
avtpbasedepayload->seqnum++;