|
![](/i/fill.gif) |
In article <nih2quouobesergu3qtvmmithvvjskjfr2@4ax.com> , ABX
<abx### [at] abx art pl> wrote:
> Working on MPEG port I found useful to perform buffered reading: allocate
> buffer and read fixed number of bytes there. The problem appear when there is
> less bytes to read than specified.
If you need to do that it indicates a flaw in your reading code. Every
(reasonable) fileformat contains sufficient information to determine how
much information is in the file, and you should just never read over the end
of a file.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |