codecs: handle onReset() for a few encoders am: 5443b57cc5
am: 89f501d046

Change-Id: I81e3dbdd87d61a9d624d576458b4adcb8cf13fc1