lavf: add API to apply a list of bsfs to a packet