summaryrefslogtreecommitdiffstats
path: root/webkit/glue/media
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 00:22:26 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-19 00:22:26 +0000
commitd8f372ad864e13f3f06bebec3a1189b8f8583ccc (patch)
tree1b5d273c0efe4f8f8e9264cc6b4a24d70642df48 /webkit/glue/media
parente33ebaf12c46d2ab390394c9662320281cf926a8 (diff)
downloadchromium_src-d8f372ad864e13f3f06bebec3a1189b8f8583ccc.zip
chromium_src-d8f372ad864e13f3f06bebec3a1189b8f8583ccc.tar.gz
chromium_src-d8f372ad864e13f3f06bebec3a1189b8f8583ccc.tar.bz2
Support playback & seeking in media files over 2G.
BUG=95805 TEST=unittests of touched files pass, manually tested w/ sonyh2.webm which is >5G (internal only), and trybots. Review URL: http://codereview.chromium.org/8349009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/media')
-rw-r--r--webkit/glue/media/buffered_resource_loader.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/glue/media/buffered_resource_loader.cc b/webkit/glue/media/buffered_resource_loader.cc
index 455542b..d39d54b 100644
--- a/webkit/glue/media/buffered_resource_loader.cc
+++ b/webkit/glue/media/buffered_resource_loader.cc
@@ -734,12 +734,12 @@ void BufferedResourceLoader::ReadInternal() {
bool BufferedResourceLoader::VerifyPartialResponse(
const WebURLResponse& response) {
- int first_byte_position, last_byte_position, instance_size;
+ int64 first_byte_position, last_byte_position, instance_size;
if (!MultipartResponseDelegate::ReadContentRanges(response,
- &first_byte_position,
- &last_byte_position,
- &instance_size)) {
+ &first_byte_position,
+ &last_byte_position,
+ &instance_size)) {
return false;
}