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

Unified Diff: media/filters/ffmpeg_glue.h

Issue 8352019: Change Read size to a size_t for clarity (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/filters/ffmpeg_demuxer_unittest.cc ('k') | media/filters/ffmpeg_glue_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_glue.h
===================================================================
--- media/filters/ffmpeg_glue.h (revision 102015)
+++ media/filters/ffmpeg_glue.h (working copy)
@@ -45,7 +45,7 @@
// Read the given amount of bytes into data, returns the number of bytes read
// if successful, kReadError otherwise.
- virtual int Read(int size, uint8* data) = 0;
+ virtual size_t Read(size_t size, uint8* data) = 0;
// Returns true and the current file position for this file, false if the
// file position could not be retrieved.
« no previous file with comments | « media/filters/ffmpeg_demuxer_unittest.cc ('k') | media/filters/ffmpeg_glue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698