f1db0b9014
Motivation: Fixes an IllegalReferenceCountException Modification: Retained the buffers so the encoder works correctly. Result: Fixes #11357