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

Issue 6249013: Return 0 instead of AVERROR_EOF for reads at or past the end of a file. (Closed)

Created:
9 years, 11 months ago by scherkus (not reviewing)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, vrk (LEFT CHROMIUM), sjl, Alpha Left Google, ddorwin+watch_chromium.org, acolwell GONE FROM CHROMIUM, annacc, awong, Paweł Hajdan Jr., scherkus (not reviewing)
Visibility:
Public.

Description

Return 0 instead of AVERROR_EOF for reads at or past the end of a file. I'm not sure if it's because the files listed in the bug report were improperly muxed, but FFmpeg was attempting to read past the end of the file and apparently returning AVERROR_EOF instead of 0 makes a huge difference. BUG=47489 TEST=media_unittests, files linked in bug report Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72350

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M media/filters/ffmpeg_demuxer.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M media/filters/ffmpeg_demuxer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scherkus (not reviewing)
9 years, 11 months ago (2011-01-24 06:28:27 UTC) #1
acolwell GONE FROM CHROMIUM
9 years, 11 months ago (2011-01-24 17:27:38 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698