examples/decoding_encoding: make operation logic more self-evident / predictable
authorStefano Sabatini <stefasab@gmail.com>
Fri, 24 Aug 2012 15:16:40 +0000 (17:16 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Mon, 27 Aug 2012 08:09:48 +0000 (10:09 +0200)
commit60924dfe5539d1f5ff29240f0995a15c23982b88
tree5c147b3e0766a5d300dc4024939d9ae90f945687
parent3b0e2763f42d8a2278d7f96da6ca759f67400341
examples/decoding_encoding: make operation logic more self-evident / predictable

Add a switch which controls which operation to perform.  Useful to test
only a single feature. Also the new behavior is more self-consistent.
doc/examples/decoding_encoding.c