commit | b687ff9f2e02790e8a8e3964cb73e87546cd72dd | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@android.com> | Thu Aug 01 19:37:52 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Aug 01 19:37:52 2013 +0000 |
tree | 89581f56db6f3468fae334b1de81a23488aa48e5 | |
parent | d0ef1ccd987e650e025b840e72f91770d03a5110 [diff] | |
parent | eb144bbbd0b18427562b0d7db5b38e11f9484739 [diff] |
Merge "Fix mismatched delete/new couple"
diff --git a/media/libstagefright/rtsp/ARTSPConnection.cpp b/media/libstagefright/rtsp/ARTSPConnection.cpp index 3068541..8b209c4 100644 --- a/media/libstagefright/rtsp/ARTSPConnection.cpp +++ b/media/libstagefright/rtsp/ARTSPConnection.cpp
@@ -565,6 +565,9 @@ if (sawCR && c == '\n') { line->erase(line->size() - 1, 1); return true; + } else if (c == '\n') { + // some reponse line ended with '\n', instead of '\r\n'. + return true; } line->append(&c, 1);