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

Unified Diff: media/filters/ffmpeg_glue.cc

Issue 2136017: Handle EINTR and remove offset_t in ffmpeg code. (Closed)
Patch Set: Created 10 years, 7 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
« media/ffmpeg/file_protocol.cc ('K') | « media/ffmpeg/file_protocol.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_glue.cc
diff --git a/media/filters/ffmpeg_glue.cc b/media/filters/ffmpeg_glue.cc
index a920f58a3471524bf4784bc12f941c8a6cb6f697..e35d96e9c0b1745f4e2392cd141cdee8cebd57c0 100644
--- a/media/filters/ffmpeg_glue.cc
+++ b/media/filters/ffmpeg_glue.cc
@@ -39,9 +39,9 @@ int WriteContext(URLContext* h, unsigned char* buf, int size) {
return AVERROR_IO;
}
-offset_t SeekContext(URLContext* h, offset_t offset, int whence) {
+int64 SeekContext(URLContext* h, int64 offset, int whence) {
media::FFmpegURLProtocol* protocol = ToProtocol(h->priv_data);
- offset_t new_offset = AVERROR_IO;
+ int64 new_offset = AVERROR_IO;
switch (whence) {
case SEEK_SET:
if (protocol->SetPosition(offset))
« media/ffmpeg/file_protocol.cc ('K') | « media/ffmpeg/file_protocol.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698