avdevice/decklink_enc: do not reference this after freeing it