nrgtool: report or abort when error in read_chunk()
authorG.raud <graud@gmx.com>
Fri, 23 Nov 2012 02:59:26 +0000 (03:59 +0100)
committerG.raud <graud@gmx.com>
Sun, 13 Jan 2013 14:18:48 +0000 (15:18 +0100)
commit5fa53ba9a47eda68d2f94a27410ca29941351f84
tree09c1b486d77a72e0e21fd4e58481a70bc56fb04d
parent601cc450e3e6fd2f841051b7bb66ae49aa0e2395
nrgtool: report or abort when error in read_chunk()

process_file():
- use a new variable $rc to manage the return status
- abort before process_iff() for fatal errors

read_chunk(): negative return values indicate errors
nrgtool