]> git.sesse.net Git - vlc/commit
Made stream_t size and position unsigned.
authorLaurent Aimar <fenrir@videolan.org>
Thu, 21 Jan 2010 22:07:47 +0000 (23:07 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 21 Jan 2010 23:18:34 +0000 (00:18 +0100)
commita463d9bd0e7fcb7dcc600a26682f98e55df5d303
treef920dd8f8dd94196f718d068c4d0399c164e2490
parent2e847d8484163b50d8fe98350f3dc96ac8a1a43f
Made stream_t size and position unsigned.

 It fixes segfaults in src/input/stream.c (at least) when demuxers
overflow int64_t seek position, and avoid testing for negative values
everywhere.
 stream_Tell() and stream_Size() still returns signed values as too much code
depend on it.
include/vlc_stream.h
modules/access/zip/zipstream.c
modules/stream_filter/decomp.c
modules/stream_filter/rar.c
src/input/input.c
src/input/stream.c
src/input/stream_demux.c
src/input/stream_memory.c
src/input/vlmshell.c