stream.h: check against huge negative values in stream_seek()
commiteb5765e96a70b19ff75f9ee18c988346b4fc48c1
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 12 Dec 2010 11:45:47 +0000 (12 11:45 +0000)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 16 Dec 2010 04:22:19 +0000 (16 06:22 +0200)
tree8d014d066438fe19058b183ee215c38e2a0eabea
parent7ed3291a4fc98fa0cb8a2d3ad777ffc317ba0c21
stream.h: check against huge negative values in stream_seek()

Add validity check for stream_seek argument to avoid a integer
overflow for huge negative values that would break the internal state
of the stream buffer.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32702 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/stream.h