On 18/01/15 21:09, Julius Friedman wrote:
> Re guarding two things:
> 
> 1) -

I take you are referring to:

http://git.libav.org/?p=libav.git;a=blob;f=libavformat/rtsp.c;h=2200f6ec0709ebd1167d271e165b2420a68ccaa1;hb=HEAD#l1103

> 'rtsp_read_reply' - Seems to handle incorrectly the parsing of messages
> during an interleaved communication, it also incorrectly looks for '$' when
> it may not be used by the underlying transport e.g. in UDP.
> 
> Please consider a message which is formulated with a header like such:
> 
> "GET_PARAMATER rtsp://someuri/ RTSP/1.0\r\nCSeq:1\r\nDate:
> xx:xx:xx\r\nContent-Length:24\r\n$UserAgent $009\r\n$\0\0\aRTSP/1.$\0\0\r\
> n\r\nDatawith$IsNotAGoodIdea!\0\0"

Probably we can just add a condition there and be done with that. Martin
do you see something against it?

> 2) -
> The polling code which is checking if each 'transportContext' has a flag to
> 'Revents' with `PollIn` nomenclature.

Could you point the function name and or the line as I did above? I
can't spot immediately the code you are referring to.

Thanks a lot.

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to