decoder/encoder fix

Change-Id: I3c2cd7bcf87c240eeae63d6bff354bec5198c2b8
Merge pull request #8 from jied83/jellybean

decoder/encoder fix