Fixed crash caused by nullptr being returned by Decoder.