OSDN Git Service

Crash in android::MyHandler::parsePlayResponse
authorPatric Frederiksen <patric.frederiksen@sonyericsson.com>
Mon, 26 Sep 2011 08:51:35 +0000 (10:51 +0200)
committerJohan Redestig <johan.redestig@sonymobile.com>
Tue, 27 Nov 2012 10:38:36 +0000 (11:38 +0100)
commit738198a16cfd7b125d15b0bab0708ba7fbf7e64a
tree4844feb205bff6a4002186a8df242aa4261488ac
parent33cf49b168a88a88167c46b01787a57b49cd875f
Crash in android::MyHandler::parsePlayResponse

This fix handles problems with several asynchronous calls
within streaming. This case is when the phone has sent a
request to the server and while the response is being sent
back by the server the request is aborted by the user.
The fix is an if case that checks if we have aborted while
waiting for a response from the server. If we have aborted
we should ignore the late response instead of continuing.

Change-Id: I1264bb992f6abcaee1f10a89479e08b54a95e3c2
media/libstagefright/rtsp/MyHandler.h