[MPlayer-dev-eng] Re: Likely (minor) bug in Real RTSP/RDT demuxing code

Diego Biurrun diego at biurrun.de
Tue Aug 31 04:19:05 CEST 2004


Diego Biurrun wrote:
> Ross Finlayson writes:
> 
>>While reviewing the code - in both Xine and MPlayer - for receiving 
>>RealNetworks' 'RDT' data streams:
>>	int real_get_rdt_chunk()
>>in the file:
>>	real.c
>>In xine-lib: src/input/libreal/real.c
>>In MPlayer: libmpdemux/realrtsp/real.c
>>
>>I noticed the following line:
>>	size=(header[1]<<12)+(header[2]<<8)+(header[3]);
>>
>>Although I don't know much about Real's protocol, it seems likely that this 
>>should really be:
>>	size=(header[1]<<16)+(header[2]<<8)+(header[3]);
>>
>>i.e., 16 instead of 12.
>>
>>This becomes an issue only if the chunk size is >65535, which is probably 
>>why noone noticed it before.
> 
> 
> What happened to this?  It has not been changed in either MPlayer or
> xine...

Hmm, no reaction?  Is this a bug or not?

Diego




More information about the MPlayer-dev-eng mailing list