stream.[ch], ass_mp: new stream function for whole-file reads
commit4c117849b343109666c7a25b6fa815ce63d0175f
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Fri, 25 Feb 2011 16:10:00 +0000 (25 18:10 +0200)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 3 Mar 2011 19:39:24 +0000 (3 21:39 +0200)
treed890c23070556c804304435bf55a7f32cc15dd0d
parent5e0a163886f825983c5bfcd4181e6498b0f3e0f2
stream.[ch], ass_mp: new stream function for whole-file reads

Add new stream_read_complete() function which reads the complete
contents of file. Use that in ass_mp.c which had custom code to do the
same.
stream/stream.c
stream/stream.h
sub/ass_mp.c