[MPlayer-cvslog] r22912 - trunk/stream/realrtsp/real.c
rtogni
subversion at mplayerhq.hu
Tue Apr 3 23:36:36 CEST 2007
Author: rtogni
Date: Tue Apr 3 23:36:36 2007
New Revision: 22912
Modified:
trunk/stream/realrtsp/real.c
Log:
Length of interleaved RTSP frames (0x24) in only 16 bit, the other byte
is the channel number (normally 0)
Modified: trunk/stream/realrtsp/real.c
==============================================================================
--- trunk/stream/realrtsp/real.c (original)
+++ trunk/stream/realrtsp/real.c Tue Apr 3 23:36:36 2007
@@ -352,7 +352,8 @@ int real_get_rdt_chunk(rtsp_t *rtsp_sess
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))
{
More information about the MPlayer-cvslog
mailing list