fix bug where plugin would crash if decoder hits unexpected end of file
3 files changed