ffmpeg/libavformat
Ronald S. Bultje eabbae730c protect the size=seek(SEEK_END,-1)+1 results with an if (.. < 0), else the
return value may still end up being zero (if the seek returns -1, which is
e.g. what file.c will return on error), which is a valid (but incorrect)
filesize.
Patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net %
Original thread:
date: Jan 2, 2007 2:11 AM
subject: [Ffmpeg-devel] Re: [PATCH] file length handling

Originally committed as revision 7765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-01-30 10:37:52 +00:00
..
2007-01-19 22:12:59 +00:00
2007-01-21 21:04:01 +00:00
2006-12-24 04:51:43 +00:00
2006-10-10 23:59:08 +00:00
2007-01-21 20:06:19 +00:00
2007-01-29 14:54:55 +00:00
2007-01-22 16:37:45 +00:00
2006-12-21 11:14:56 +00:00
2007-01-19 22:12:59 +00:00
2006-11-02 23:22:23 +00:00
2006-11-02 23:22:23 +00:00
2006-11-22 18:47:05 +00:00
2007-01-22 01:16:42 +00:00
2007-01-25 10:01:28 +00:00
2007-01-19 22:12:59 +00:00
2007-01-24 15:59:58 +00:00
2007-01-17 12:06:31 +00:00
2007-01-15 01:04:43 +00:00
2007-01-21 12:43:29 +00:00
2007-01-19 22:12:59 +00:00
2007-01-15 22:05:22 +00:00
2006-09-27 19:47:39 +00:00
2007-01-25 21:56:06 +00:00
2006-11-07 22:10:07 +00:00
2007-01-19 22:12:59 +00:00
2007-01-29 15:02:57 +00:00
2007-01-18 17:22:30 +00:00
2007-01-19 22:12:59 +00:00
2007-01-21 20:40:22 +00:00
2007-01-02 22:22:12 +00:00
2007-01-18 23:23:41 +00:00
2007-01-28 17:23:28 +00:00
2007-01-13 04:19:45 +00:00