Update decoder.cpp