lavf: revert commit bb99ae3ae924c942a634bec7711ec7ee11c38eb9