Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Unified Diff: media/bench/file_protocol.cc

Issue 195012: Media bench add -hash, 64 bit IO, and some cleanup of dump (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/bench/bench.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/bench/file_protocol.cc
===================================================================
--- media/bench/file_protocol.cc (revision 25552)
+++ media/bench/file_protocol.cc (working copy)
@@ -4,6 +4,7 @@
#include "media/bench/file_protocol.h"
+#include <stdio.h>
#include "base/file_util.h"
#include "base/logging.h"
#include "media/filters/ffmpeg_common.h"
@@ -37,7 +38,9 @@
offset_t SeekContext(URLContext* h, offset_t offset, int whence) {
#if defined(OS_WIN)
- return _fseeki64(ToFile(h->priv_data), offset, whence);
+ return static_cast<offset_t> (_fseeki64(ToFile(h->priv_data),
+ static_cast<int64>(offset),
+ whence));
#else
return fseek(ToFile(h->priv_data), offset, whence);
#endif
« no previous file with comments | « media/bench/bench.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698