rtsp: Handle requests from server to client
authorTommy Winther <tommy@net-comm.dk>
Wed, 12 Oct 2011 09:26:45 +0000 (12:26 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 27 Feb 2012 10:04:11 +0000 (12:04 +0200)
commit1a6b9a98ceacc3aca35ab354f9e97e3ac01b0ded
tree28a631cf4e9485550c3044dd2e850be74028119a
parentf234e8a32e6c69d7b63f8627f278be7c2c987f43
rtsp: Handle requests from server to client

This returns 200 OK for OPTIONS requests and 501 Not Implemented
for all other requests.

Even though this doesn't do much actual handling of the requests,
it makes the code properly identify server requests as such, instead
of interpreting it as a reply to the client's request as it did
before.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtsp.c