1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 11:25:10 +00:00

Length of interleaved RTSP frames (0x24) in only 16 bit, the other byte

is the channel number (normally 0)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22912 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtogni 2007-04-03 21:36:36 +00:00
parent 0c3c6dd46e
commit 32e3821c36

View File

@ -352,7 +352,8 @@ int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer, int rdt_rawdata) {
header[0]);
return 0;
}
size=(header[1]<<16)+(header[2]<<8)+(header[3]);
/* header[1] is channel, normally 0, ignored */
size=(header[2]<<8)+header[3];
flags1=header[4];
if ((flags1!=0x40)&&(flags1!=0x42)&&(flags1!=0x41))
{