lavc: add clobber tests for the new encoding/decoding API