Instead of pickling the whole decoder, use the new getstate/setstate API.
2 files changed