mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
rtpenc_xiph: Set the ident value via a define
Originally committed as revision 24749 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user