Fix potential invalid sout buffer chain in decoder.