From b5c4bb989d4085625f212b9b6378e4ee0a1a9ca8 Mon Sep 17 00:00:00 2001 From: Martin Storsjö Date: Mon, 9 Aug 2010 10:31:59 +0000 Subject: rtpenc_xiph: Set the ident value via a define Originally committed as revision 24749 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/sdp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/sdp.c') diff --git a/libavformat/sdp.c b/libavformat/sdp.c index e140cc7c7b..ab5ef400bb 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -267,9 +267,9 @@ static char *xiph_extradata2config(AVCodecContext *c) 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; -- cgit v1.2.3