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

Issue 2136017: Handle EINTR and remove offset_t in ffmpeg code. (Closed)

Created:
10 years, 7 months ago by agl
Modified:
9 years, 7 months ago
CC:
chromium-reviews, scherkus (not reviewing), fbarchard, Alpha Left Google
Visibility:
Public.

Description

Handle EINTR and remove offset_t in ffmpeg code.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -14 lines) Patch
M media/ffmpeg/ffmpeg_common.h View 1 chunk +0 lines, -3 lines 0 comments Download
M media/ffmpeg/file_protocol.cc View 2 chunks +6 lines, -9 lines 4 comments Download
M media/filters/ffmpeg_glue.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
agl
yep, Windows seems happy with this.
10 years, 7 months ago (2010-05-19 16:01:51 UTC) #1
Evan Martin
LGTM Might be good to check the blame and CC the person behind this code ...
10 years, 7 months ago (2010-05-19 16:04:29 UTC) #2
wtc
http://codereview.chromium.org/2136017/diff/1/3 File media/ffmpeg/file_protocol.cc (right): http://codereview.chromium.org/2136017/diff/1/3#newcode59 media/ffmpeg/file_protocol.cc:59: return lseek(GetHandle(h), static_cast<off_t>(offset), whence); MSVC has _lseeki64, which takes ...
10 years, 7 months ago (2010-05-19 17:20:42 UTC) #3
agl
http://codereview.chromium.org/2136017/diff/1/3 File media/ffmpeg/file_protocol.cc (right): http://codereview.chromium.org/2136017/diff/1/3#newcode59 media/ffmpeg/file_protocol.cc:59: return lseek(GetHandle(h), static_cast<off_t>(offset), whence); On 2010/05/19 17:20:42, wtc wrote: ...
10 years, 7 months ago (2010-05-19 18:07:32 UTC) #4
awong
http://codereview.chromium.org/2136017/diff/1/3 File media/ffmpeg/file_protocol.cc (right): http://codereview.chromium.org/2136017/diff/1/3#newcode59 media/ffmpeg/file_protocol.cc:59: return lseek(GetHandle(h), static_cast<off_t>(offset), whence); On 2010/05/19 18:07:32, agl wrote: ...
10 years, 7 months ago (2010-05-19 18:12:55 UTC) #5
agl
On Wed, May 19, 2010 at 2:12 PM, <ajwong@chromium.org> wrote: > Doesn't off_t change on ...
10 years, 7 months ago (2010-05-19 18:17:58 UTC) #6
awong
LGTM On 2010/05/19 18:12:55, awong wrote: > http://codereview.chromium.org/2136017/diff/1/3 > File media/ffmpeg/file_protocol.cc (right): > > http://codereview.chromium.org/2136017/diff/1/3#newcode59 ...
10 years, 7 months ago (2010-05-19 18:21:31 UTC) #7
wtc
10 years, 7 months ago (2010-05-19 18:44:55 UTC) #8
http://codereview.chromium.org/2136017/diff/1/3
File media/ffmpeg/file_protocol.cc (right):

http://codereview.chromium.org/2136017/diff/1/3#newcode59
media/ffmpeg/file_protocol.cc:59: return lseek(GetHandle(h),
static_cast<off_t>(offset), whence);
We can add a static assertion to assert that sizeof(off_t) == 8.

Powered by Google App Engine
This is Rietveld 408576698