zjlyou / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

Defect in Streaming API #503

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Not possible to skip negative offsets, for example not possible to skip by -1 
bytes, since a return value of -1  signifies end of stream.

Since it is not possible to skip past end of stream or beginning of stream,
return value is not useful. Method either succeeds or it doesn't, so make 
return boolean instead.

Original issue reported on code.google.com by boxe...@gmail.com on 7 Jun 2015 at 10:44

GoogleCodeExporter commented 8 years ago

Original comment by boxe...@gmail.com on 7 Jun 2015 at 10:45

GoogleCodeExporter commented 8 years ago

Original comment by boxe...@gmail.com on 7 Jun 2015 at 10:45