Mercurial > libavformat.hg
diff sdp.c @ 6355:3aa7765383b5 libavformat
rtpenc_xiph: Set the ident value via a define
author | mstorsjo |
---|---|
date | Mon, 09 Aug 2010 10:31:59 +0000 |
parents | 93c7a56fa912 |
children | 0bcd6a8bc5d5 |
line wrap: on
line diff
--- a/sdp.c Mon Aug 09 10:23:26 2010 +0000 +++ b/sdp.c Mon Aug 09 10:31:59 2010 +0000 @@ -267,9 +267,9 @@ config[0] = config[1] = config[2] = 0; config[3] = 1; - config[4] = 0xfe; // ident must match the one in rtpenc_xiph.c - config[5] = 0xcd; - config[6] = 0xba; + config[4] = (RTP_XIPH_IDENT >> 16) & 0xff; + config[5] = (RTP_XIPH_IDENT >> 8) & 0xff; + config[6] = (RTP_XIPH_IDENT ) & 0xff; config[7] = (headers_len >> 8) & 0xff; config[8] = headers_len & 0xff; config[9] = 2;