The issue only happened when compiling with clang which apparently evaluated the parameters in a different order. `IMB_steal_encoded_buffer` sets `ibuf->encoded_size` to 0.
The issue only happened when compiling with clang which apparently evaluated the parameters in a different order. `IMB_steal_encoded_buffer` sets `ibuf->encoded_size` to 0.