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

Unified Diff: patched-ffmpeg-mt/libavformat/file.c

Issue 789004: ffmpeg roll of source to mar 9 version... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 9 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
Index: patched-ffmpeg-mt/libavformat/file.c
===================================================================
--- patched-ffmpeg-mt/libavformat/file.c (revision 41250)
+++ patched-ffmpeg-mt/libavformat/file.c (working copy)
@@ -73,6 +73,8 @@
static int64_t file_seek(URLContext *h, int64_t pos, int whence)
{
int fd = (intptr_t) h->priv_data;
+ if (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END)
+ return AVERROR_NOTSUPP;
return lseek(fd, pos, whence);
}

Powered by Google App Engine
This is Rietveld 408576698