diff options
| author | 2009-09-02 09:24:09 -0700 | |
|---|---|---|
| committer | 2009-09-02 09:24:09 -0700 | |
| commit | 7272f7f9aa61f330c0e74706a28b4fc47af3cda7 (patch) | |
| tree | 378fa971acbd8464b2d6ebd6844628ce6bebcd31 | |
| parent | b7559e02803266e5fa9f4496174bc343ecd245ab (diff) | |
Increase buffer allocated to receive HTTP response, YouTube is rather verbose...
Yes, I know, fixed buffers are bad.
| -rw-r--r-- | media/libstagefright/HTTPStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/HTTPStream.cpp b/media/libstagefright/HTTPStream.cpp index 098ddbdcee21..6af7df9559aa 100644 --- a/media/libstagefright/HTTPStream.cpp +++ b/media/libstagefright/HTTPStream.cpp @@ -174,7 +174,7 @@ status_t HTTPStream::receive_header(int *http_status) { *http_status = -1; mHeaders.clear(); - char line[256]; + char line[1024]; status_t err = receive_line(line, sizeof(line)); if (err != OK) { return err; |