commit | 3967a2a353436941277dcffc3babec209ac5d812 | [log] [tgz] |
---|---|---|
author | Per Osbäck <per@osbeck.com> | Mon Nov 29 15:59:12 2010 +0100 |
committer | Per Osbäck <per@osbeck.com> | Mon Nov 29 15:59:12 2010 +0100 |
tree | cb568c30e65a248887c3743160ef708710033172 | |
parent | c533edc9c70dd9434e2e496dc0d52f534472c7e0 [diff] |
Fix HTTP redirect missing statuscode 303 and 307 Change-Id: I1c5f3a9f348a05d0558b31f912e10a59382eb24c
diff --git a/media/libstagefright/HTTPDataSource.cpp b/media/libstagefright/HTTPDataSource.cpp index 521c3c8..31ce02f 100644 --- a/media/libstagefright/HTTPDataSource.cpp +++ b/media/libstagefright/HTTPDataSource.cpp
@@ -88,7 +88,7 @@ return OK; } - if (httpStatus != 301 && httpStatus != 302) { + if (httpStatus != 301 && httpStatus != 302 && httpStatus != 303 && httpStatus != 307) { LOGE("HTTP request failed w/ http status %d", httpStatus); return ERROR_IO; }