summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--media/libstagefright/HTTPDataSource.cpp2
1 files changed, 1 insertions, 1 deletions
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 @@ status_t HTTPDataSource::connectWithRedirectsAndRange(off_t rangeStart) {
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;
}