The input buffers allocated for 422 formats is less by a chroma plane. This causing memory over writes and results in crash while freeing
Also rename test/decoder as test/avcdec and test/encoder as test/avcenc Change-Id: Ia21513d91206d806a2aa2177012765c54287bc77