diff options
author | Martin Storsjö <martin@martin.st> | 2010-08-09 10:31:59 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-08-09 10:31:59 +0000 |
commit | b5c4bb989d4085625f212b9b6378e4ee0a1a9ca8 (patch) | |
tree | 490860993ea617d2ab9374208af113fcfa83cfcb /libavformat/sdp.c | |
parent | 62c7e2c3364c232e04b694641d4a0611c700ee56 (diff) | |
download | ffmpeg-b5c4bb989d4085625f212b9b6378e4ee0a1a9ca8.tar.gz |
rtpenc_xiph: Set the ident value via a define
Originally committed as revision 24749 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sdp.c')
-rw-r--r-- | libavformat/sdp.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |