decode: add a method for attaching lavc-internal data to frames