From 8f62d0525c3ba19b149285c18575265d4c4a9d03 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sat, 13 Feb 2010 14:47:41 +0000 Subject: [PATCH] Fixed packing of struct rtp_hdr --- apps/rtp/rtp.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/rtp/rtp.c b/apps/rtp/rtp.c index 0e96e39..0379e89 100644 --- a/apps/rtp/rtp.c +++ b/apps/rtp/rtp.c @@ -99,11 +99,11 @@ #endif PACK_STRUCT_BEGIN struct rtp_hdr { - u8_t version; - u8_t payloadtype; - u16_t seqNum; - u32_t timestamp; - u32_t ssrc; + PACK_STRUCT_FIELD(u8_t version); + PACK_STRUCT_FIELD(u8_t payloadtype); + PACK_STRUCT_FIELD(u16_t seqNum); + PACK_STRUCT_FIELD(u32_t timestamp); + PACK_STRUCT_FIELD(u32_t ssrc); } PACK_STRUCT_STRUCT; PACK_STRUCT_END #ifdef PACK_STRUCT_USE_INCLUDES