This separates encoding and decoding flags, and passes them together with the related file argument instead of all at the start of the command line. Signed-off-by: Mans Rullgard <mans@mansr.com>