comparison 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
comparison
equal deleted inserted replaced
6354:c0bd24801ac1 6355:3aa7765383b5
265 goto xiph_fail; 265 goto xiph_fail;
266 } 266 }
267 267
268 config[0] = config[1] = config[2] = 0; 268 config[0] = config[1] = config[2] = 0;
269 config[3] = 1; 269 config[3] = 1;
270 config[4] = 0xfe; // ident must match the one in rtpenc_xiph.c 270 config[4] = (RTP_XIPH_IDENT >> 16) & 0xff;
271 config[5] = 0xcd; 271 config[5] = (RTP_XIPH_IDENT >> 8) & 0xff;
272 config[6] = 0xba; 272 config[6] = (RTP_XIPH_IDENT ) & 0xff;
273 config[7] = (headers_len >> 8) & 0xff; 273 config[7] = (headers_len >> 8) & 0xff;
274 config[8] = headers_len & 0xff; 274 config[8] = headers_len & 0xff;
275 config[9] = 2; 275 config[9] = 2;
276 config[10] = header_len[0]; 276 config[10] = header_len[0];
277 config[11] = 0; // size of comment header; nonexistent 277 config[11] = 0; // size of comment header; nonexistent