mirror of https://github.com/mpv-player/mpv
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:
parent
0c3c6dd46e
commit
32e3821c36
|
@ -352,7 +352,8 @@ int real_get_rdt_chunk(rtsp_t *rtsp_session, char **buffer, int rdt_rawdata) {
|
||||||
header[0]);
|
header[0]);
|
||||||
return 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];
|
flags1=header[4];
|
||||||
if ((flags1!=0x40)&&(flags1!=0x42)&&(flags1!=0x41))
|
if ((flags1!=0x40)&&(flags1!=0x42)&&(flags1!=0x41))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue